pub enum NTypeField {
Norm {
n_pext: bool,
n_type: NType,
n_ext: bool,
},
Stab(DebugSymbol),
}Variants§
Implementations§
Source§impl NTypeField
impl NTypeField
pub const N_STAB_MASK: u8 = 224u8
pub const N_PEXT_MASK: u8 = 16u8
pub const N_TYPE_MASK: u8 = 14u8
pub const N_EXT_MASK: u8 = 1u8
pub fn from_u8(n: u8) -> Self
pub fn to_u8(self) -> u8
Trait Implementations§
Source§impl Clone for NTypeField
impl Clone for NTypeField
Source§fn clone(&self) -> NTypeField
fn clone(&self) -> NTypeField
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 NTypeField
impl Debug for NTypeField
Source§impl PartialEq for NTypeField
impl PartialEq for NTypeField
impl Copy for NTypeField
impl Eq for NTypeField
impl StructuralPartialEq for NTypeField
Auto Trait Implementations§
impl Freeze for NTypeField
impl RefUnwindSafe for NTypeField
impl Send for NTypeField
impl Sync for NTypeField
impl Unpin for NTypeField
impl UnwindSafe for NTypeField
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