Enum flapigen::MethodVariant
source · [−]pub enum MethodVariant {
Constructor,
Method(SelfTypeVariant),
StaticMethod,
}Variants
Constructor
Method(SelfTypeVariant)
StaticMethod
Trait Implementations
sourceimpl Clone for MethodVariant
impl Clone for MethodVariant
sourcefn clone(&self) -> MethodVariant
fn clone(&self) -> MethodVariant
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MethodVariant
impl Debug for MethodVariant
sourceimpl PartialEq<MethodVariant> for MethodVariant
impl PartialEq<MethodVariant> for MethodVariant
sourcefn eq(&self, other: &MethodVariant) -> bool
fn eq(&self, other: &MethodVariant) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MethodVariant) -> bool
fn ne(&self, other: &MethodVariant) -> bool
This method tests for !=.
impl Copy for MethodVariant
impl StructuralPartialEq for MethodVariant
Auto Trait Implementations
impl RefUnwindSafe for MethodVariant
impl Send for MethodVariant
impl Sync for MethodVariant
impl Unpin for MethodVariant
impl UnwindSafe for MethodVariant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more