Greatly improve rustdoc search

This commit is contained in:
Guillaume Gomez 2021-12-20 15:42:08 +01:00
parent 6fd7e9010d
commit be41750a10
2 changed files with 607 additions and 399 deletions

View File

@ -8,10 +8,30 @@ function initSearch(searchIndex){}
/**
* @typedef {{
* raw: string,
* query: string,
* type: string,
* id: string,
* isExact: boolean,
* name: string,
* fullPath: Array<string>,
* pathWithoutLast: Array<string>,
* pathLast: string,
* generics: Array<QueryElement>,
* }}
*/
var QueryElement;
/**
* @typedef {{
* original: string,
* val: string,
* length: number,
* pos: number,
* typeFilter: number,
* elems: Array<QueryElement>,
* elemName: (string|null),
* args: Array<QueryElement>,
* returned: Array<QueryElement>,
* foundElems: number,
* id: string,
* nameSplit: (string|null),
* }}
*/
var ParsedQuery;

File diff suppressed because it is too large Load Diff