pub struct MethodOf {
pub class: String,
pub factory: bool,
pub name: String,
pub pos: Pos,
}Expand description
A method: the class that defines it, whether it is a factory method, and its name as written.
Fields§
§class: String§factory: bool§name: String§pos: PosTrait Implementations§
impl Eq for MethodOf
impl StructuralPartialEq for MethodOf
Auto Trait Implementations§
impl Freeze for MethodOf
impl RefUnwindSafe for MethodOf
impl Send for MethodOf
impl Sync for MethodOf
impl Unpin for MethodOf
impl UnsafeUnpin for MethodOf
impl UnwindSafe for MethodOf
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