Enum flapigen::MethodVariant
source · pub enum MethodVariant {
Constructor,
Method(SelfTypeVariant),
StaticMethod,
}
Variants§
Trait Implementations§
source§impl Clone for MethodVariant
impl Clone for MethodVariant
source§fn clone(&self) -> MethodVariant
fn clone(&self) -> MethodVariant
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MethodVariant
impl Debug for MethodVariant
source§impl PartialEq for MethodVariant
impl PartialEq for MethodVariant
source§fn 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 ==
.impl Copy for MethodVariant
impl StructuralPartialEq for MethodVariant
Auto Trait Implementations§
impl Freeze for MethodVariant
impl RefUnwindSafe for MethodVariant
impl Send for MethodVariant
impl Sync for MethodVariant
impl Unpin for MethodVariant
impl UnwindSafe for MethodVariant
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