Struct symbolic::debuginfo::dwarf::gimli::DwLang[]

pub struct DwLang(pub u16);

The encodings of the constants used in the DW_AT_language attribute.

See Section 7.12, Table 7.17.

Implementations

impl DwLang

pub fn default_lower_bound(self) -> Option<usize>

Get the default DW_AT_lower_bound for this language.

impl DwLang

pub fn static_string(&self) -> Option<&'static str>

Trait Implementations

impl Clone for DwLang

impl Copy for DwLang

impl Debug for DwLang

impl Display for DwLang

impl Eq for DwLang

impl Hash for DwLang

impl Ord for DwLang

impl PartialEq<DwLang> for DwLang

impl PartialOrd<DwLang> for DwLang

impl StructuralEq for DwLang

impl StructuralPartialEq for DwLang

Auto Trait Implementations

impl RefUnwindSafe for DwLang

impl Send for DwLang

impl Sync for DwLang

impl Unpin for DwLang

impl UnwindSafe for DwLang

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RuleType for T where
    T: Copy + Debug + Eq + Hash + Ord
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.