Struct pdb::MethodType
source · [−]pub struct MethodType<'t> {
pub attributes: FieldAttributes,
pub method_type: TypeIndex,
pub vtable_offset: Option<u32>,
pub name: RawString<'t>,
}
Expand description
The information parsed from a type record with kind LF_ONEMETHOD
or LF_ONEMETHOD_ST
.
Fields
attributes: FieldAttributes
method_type: TypeIndex
vtable_offset: Option<u32>
name: RawString<'t>
Trait Implementations
sourceimpl<'t> Clone for MethodType<'t>
impl<'t> Clone for MethodType<'t>
sourcefn clone(&self) -> MethodType<'t>
fn clone(&self) -> MethodType<'t>
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<'t> Debug for MethodType<'t>
impl<'t> Debug for MethodType<'t>
sourceimpl<'t> PartialEq<MethodType<'t>> for MethodType<'t>
impl<'t> PartialEq<MethodType<'t>> for MethodType<'t>
sourcefn eq(&self, other: &MethodType<'t>) -> bool
fn eq(&self, other: &MethodType<'t>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MethodType<'t>) -> bool
fn ne(&self, other: &MethodType<'t>) -> bool
This method tests for !=
.
impl<'t> Eq for MethodType<'t>
impl<'t> StructuralEq for MethodType<'t>
impl<'t> StructuralPartialEq for MethodType<'t>
Auto Trait Implementations
impl<'t> RefUnwindSafe for MethodType<'t>
impl<'t> Send for MethodType<'t>
impl<'t> Sync for MethodType<'t>
impl<'t> Unpin for MethodType<'t>
impl<'t> UnwindSafe for MethodType<'t>
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