Struct Method
pub struct Method<'a> {
doc: Option<&'a Doc>,
input: &'a [Field<'a>],
name: &'a Name,
output: &'a [Field<'a>],
}Expand description
A method declaration.
Fields§
§doc: Option<&'a Doc>§input: &'a [Field<'a>]§name: &'a Name§output: &'a [Field<'a>]Implementations§
Trait Implementations§
impl<'a> Copy for Method<'a>
impl<'a> Eq for Method<'a>
impl<'a> StructuralPartialEq for Method<'a>
Auto Trait Implementations§
impl<'a> Freeze for Method<'a>
impl<'a> RefUnwindSafe for Method<'a>
impl<'a> Send for Method<'a>
impl<'a> Sync for Method<'a>
impl<'a> Unpin for Method<'a>
impl<'a> UnsafeUnpin for Method<'a>
impl<'a> UnwindSafe for Method<'a>
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