Enum dynamic_call::SelfType
source · pub enum SelfType {
Ref,
MutRef,
Value,
Static,
}Expand description
The type of self in a method signature.
Variants§
Ref
The method uses &self.
MutRef
The method uses &mut self.
Value
The method uses self.
Static
The method has no self parameter.
Trait Implementations§
source§impl PartialEq<SelfType> for SelfType
impl PartialEq<SelfType> for SelfType
impl Copy for SelfType
impl Eq for SelfType
impl StructuralEq for SelfType
impl StructuralPartialEq for SelfType
Auto Trait Implementations§
impl RefUnwindSafe for SelfType
impl Send for SelfType
impl Sync for SelfType
impl Unpin for SelfType
impl UnwindSafe for SelfType
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