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