#[repr(C)]pub enum MethodType {
    Member = 0,
    Static = 1,
    Constructor = 2,
}Expand description
Enumerator used to differentiate between methods.
Variants§
Trait Implementations§
Source§impl Clone for MethodType
 
impl Clone for MethodType
Source§fn clone(&self) -> MethodType
 
fn clone(&self) -> MethodType
Returns a duplicate 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 MethodType
 
impl Debug for MethodType
Source§impl From<MethodFlags> for MethodType
 
impl From<MethodFlags> for MethodType
Source§fn from(value: MethodFlags) -> Self
 
fn from(value: MethodFlags) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MethodType
 
impl PartialEq for MethodType
impl Copy for MethodType
impl StructuralPartialEq for MethodType
Auto Trait Implementations§
impl Freeze for MethodType
impl RefUnwindSafe for MethodType
impl Send for MethodType
impl Sync for MethodType
impl Unpin for MethodType
impl UnwindSafe for MethodType
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