rustdoc-mcp 0.4.0

mcp server for rustdocs
---
source: rustdoc-mcp/src/tests.rs
expression: normalized_result
---
Item: TestStruct
Kind: Struct
Visibility: Public
Defined at: test_crate::TestStruct

A simple struct for testing basic functionality.

This struct demonstrates basic usage patterns and should show completely
since it only has one paragraph of documentation.
[+3 lines elided]


```rust
struct TestStruct {
    pub field: String,
    pub count: u32,
}
```

Fields:

• field: String
    A public field

• count: u32
    Another public field


Associated Types:

• pub const ASSOCIATED_CONST
    This is an associated constant for a struct

• pub fn new(field: String, count: u32) -> Self
    Create a new TestStruct

• pub fn get_field(&self) -> &str
    Get the field value

• pub fn increment_count(&mut self)
    Update the count


std traits: Any, Borrow<T>, BorrowMut<T>, Clone, CloneToUninit, Debug, Freeze, From<T>, Into<U>, RefUnwindSafe [+8 more]

Source: /TEST_CRATE_ROOT/src/lib.rs
```rust
#[derive(Debug, Clone)]
pub struct TestStruct {
    /// A public field
    pub field: String,
    /// Another public field
    pub count: u32,
    /// A private field
    private_field: bool,
}

```