Enum lief::pdb::types::method::MethodType
pub enum MethodType {
VANILLA,
VIRTUAL,
STATIC,
FRIEND,
INTRODUCING_VIRTUAL,
PURE_VIRTUAL,
PURE_INTRODUCING_VIRTUAL,
UNKNOWN(u32),
}Variants§
VANILLA
Regular instance method
VIRTUAL
Virtual method
STATIC
Static method
FRIEND
Friend method
INTRODUCING_VIRTUAL
Virtual method that introduces a new vtable slot
PURE_VIRTUAL
Pure virtual method (abstract)
PURE_INTRODUCING_VIRTUAL
Pure virtual method that introduces a new vtable slot
UNKNOWN(u32)
Trait Implementations§
§impl Clone for MethodType
impl Clone for MethodType
§fn clone(&self) -> MethodType
fn clone(&self) -> MethodType
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 more§impl Debug for MethodType
impl Debug for MethodType
§impl From<MethodType> for u32
impl From<MethodType> for u32
§fn from(value: MethodType) -> u32
fn from(value: MethodType) -> u32
Converts to this type from the input type.
§impl From<u32> for MethodType
impl From<u32> for MethodType
§impl Hash for MethodType
impl Hash for MethodType
§impl PartialEq<MethodType> for MethodType
impl PartialEq<MethodType> for MethodType
§fn eq(&self, other: &MethodType) -> bool
fn eq(&self, other: &MethodType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MethodType
impl Eq for MethodType
impl StructuralEq for MethodType
impl StructuralPartialEq for MethodType
Auto Trait Implementations§
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