Struct gimli::constants::DwDefaulted
source · pub struct DwDefaulted(pub u8);
Expand description
The encodings of the constants used in the DW_AT_defaulted
attribute.
See Section 7.20, Table 7.24.
Tuple Fields§
§0: u8
Implementations§
source§impl DwDefaulted
impl DwDefaulted
pub fn static_string(&self) -> Option<&'static str>
Trait Implementations§
source§impl Clone for DwDefaulted
impl Clone for DwDefaulted
source§fn clone(&self) -> DwDefaulted
fn clone(&self) -> DwDefaulted
Returns a copy 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 DwDefaulted
impl Debug for DwDefaulted
source§impl Display for DwDefaulted
impl Display for DwDefaulted
source§impl Hash for DwDefaulted
impl Hash for DwDefaulted
source§impl Ord for DwDefaulted
impl Ord for DwDefaulted
source§fn cmp(&self, other: &DwDefaulted) -> Ordering
fn cmp(&self, other: &DwDefaulted) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DwDefaulted
impl PartialEq for DwDefaulted
source§fn eq(&self, other: &DwDefaulted) -> bool
fn eq(&self, other: &DwDefaulted) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DwDefaulted
impl PartialOrd for DwDefaulted
source§fn partial_cmp(&self, other: &DwDefaulted) -> Option<Ordering>
fn partial_cmp(&self, other: &DwDefaulted) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DwDefaulted
impl Eq for DwDefaulted
impl StructuralPartialEq for DwDefaulted
Auto Trait Implementations§
impl Freeze for DwDefaulted
impl RefUnwindSafe for DwDefaulted
impl Send for DwDefaulted
impl Sync for DwDefaulted
impl Unpin for DwDefaulted
impl UnwindSafe for DwDefaulted
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)