Struct gimli::constants::DwLang[][src]

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[src]

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

impl DwLang[src]

pub fn default_lower_bound(self) -> Option<usize>[src]

Get the default DW_AT_lower_bound for this language.

Trait Implementations

impl Clone for DwLang[src]

impl Copy for DwLang[src]

impl Debug for DwLang[src]

impl Display for DwLang[src]

impl Eq for DwLang[src]

impl Hash for DwLang[src]

impl Ord for DwLang[src]

impl PartialEq<DwLang> for DwLang[src]

impl PartialOrd<DwLang> for DwLang[src]

impl StructuralEq for DwLang[src]

impl StructuralPartialEq for DwLang[src]

Auto Trait Implementations

impl Send for DwLang

impl Sync for DwLang

impl Unpin 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> 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.