#[repr(u8)]pub enum DebugNameTableKind {
Default = 0,
Gnu = 1,
None = 2,
Apple = 3,
}Expand description
DICompileUnit::DebugNameTableKind
Variants§
Default = 0
Default name table
Gnu = 1
GNU name table
None = 2
No name table
Apple = 3
Apple name table
Trait Implementations§
Source§impl Clone for DebugNameTableKind
impl Clone for DebugNameTableKind
Source§fn clone(&self) -> DebugNameTableKind
fn clone(&self) -> DebugNameTableKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DebugNameTableKind
Source§impl Debug for DebugNameTableKind
impl Debug for DebugNameTableKind
Source§impl Default for DebugNameTableKind
impl Default for DebugNameTableKind
Source§fn default() -> DebugNameTableKind
fn default() -> DebugNameTableKind
Returns the “default value” for a type. Read more
impl Eq for DebugNameTableKind
Source§impl PartialEq for DebugNameTableKind
impl PartialEq for DebugNameTableKind
Source§fn eq(&self, other: &DebugNameTableKind) -> bool
fn eq(&self, other: &DebugNameTableKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DebugNameTableKind
Source§impl TryFrom<u8> for DebugNameTableKind
impl TryFrom<u8> for DebugNameTableKind
Source§type Error = TryFromPrimitiveError<DebugNameTableKind>
type Error = TryFromPrimitiveError<DebugNameTableKind>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for DebugNameTableKind
impl TryFromPrimitive for DebugNameTableKind
const NAME: &'static str = "DebugNameTableKind"
type Primitive = u8
type Error = TryFromPrimitiveError<DebugNameTableKind>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for DebugNameTableKind
impl RefUnwindSafe for DebugNameTableKind
impl Send for DebugNameTableKind
impl Sync for DebugNameTableKind
impl Unpin for DebugNameTableKind
impl UnsafeUnpin for DebugNameTableKind
impl UnwindSafe for DebugNameTableKind
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