pub struct DwLang(pub u16);
Expand description
The encodings of the constants used in the DW_AT_language
attribute.
See Section 7.12, Table 7.17.
Tuple Fields§
§0: u16
Implementations§
source§impl DwLang
impl DwLang
pub fn static_string(&self) -> Option<&'static str>
source§impl DwLang
impl DwLang
sourcepub fn default_lower_bound(self) -> Option<usize>
pub fn default_lower_bound(self) -> Option<usize>
Get the default DW_AT_lower_bound for this language.
Trait Implementations§
source§impl Ord for DwLang
impl Ord for DwLang
source§impl PartialOrd for DwLang
impl PartialOrd for DwLang
impl Copy for DwLang
impl Eq for DwLang
impl StructuralPartialEq for DwLang
Auto Trait Implementations§
impl Freeze for DwLang
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 Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)