pub struct Enum<'a> { /* private fields */ }Expand description
This structure wraps a LF_ENUM PDB type
Implementations§
§impl Enum<'_>
impl Enum<'_>
pub fn underlying_type(&self) -> Option<Type<'_>>
pub fn underlying_type(&self) -> Option<Type<'_>>
The underlying type that is used to encode this enum
pub fn entry_by_value(&self, value: i64) -> Option<Entry<'_>>
pub fn entry_by_value(&self, value: i64) -> Option<Entry<'_>>
Try to find the enum entry matching the given value
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Enum<'a>
impl<'a> !Send for Enum<'a>
impl<'a> !Sync for Enum<'a>
impl<'a> Unpin for Enum<'a>
impl<'a> UnwindSafe for Enum<'a>
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