pub struct Method {
pub name: &'static str,
pub kind: MethodKind,
pub params: &'static [&'static str],
pub summary: &'static str,
}Expand description
A built-in method such as items.push(item).
Fields§
§name: &'static str§kind: MethodKind§params: &'static [&'static str]The names of its arguments, which are always given by position.
summary: &'static strTrait 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