docs_rs_search_in_crate
Search for traits, structs, methods, or other items within a specific Rust crate’s documentation. Specify crate name, search query, version, and item type to locate relevant information quickly.
Instructions
Search for traits, structs, methods, etc. from the crate's all.html page. To get a module, use docs_rs_get_item instead.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
crate_name | Yes | Name of the crate to search | |
item_type | No | Filter by item type (struct | trait | fn | enum| union | macro | constant) | |
query | Yes | Search keyword (trait name, struct name, function name, etc.) | |
version | No | Specific version (optional, defaults to latest) |