pub struct Method {
pub name: String,
pub detail: Option<String>,
pub documentation: Option<String>,
}Expand description
Represents a method extracted from a rust-analyzer completion list.
Fields§
§name: StringThe plain name of the method (e.g., "len").
detail: Option<String>The full method signature hint provided by the LSP server (e.g., "pub const fn len(&self) -> usize").
documentation: Option<String>Markdown or plaintext documentation extracted from the item.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnsafeUnpin for Method
impl UnwindSafe for Method
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more