docs_rs_search_in_crate
Search crate documentation on docs.rs for specific traits, structs, methods, or other items. Filter by type or version to locate relevant Rust documentation efficiently.
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) |