pub struct RelocatableHeaderTagPreferenceRaw(/* private fields */);Expand description
ABI compatible representation of the placement preference of the relocatable header tag.
This type matches the binary representation (u32).
Implementations§
Trait Implementations§
Source§impl Clone for RelocatableHeaderTagPreferenceRaw
impl Clone for RelocatableHeaderTagPreferenceRaw
Source§fn clone(&self) -> RelocatableHeaderTagPreferenceRaw
fn clone(&self) -> RelocatableHeaderTagPreferenceRaw
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 RelocatableHeaderTagPreferenceRaw
impl Eq for RelocatableHeaderTagPreferenceRaw
Source§impl From<RelocatableHeaderTagPreference> for RelocatableHeaderTagPreferenceRaw
impl From<RelocatableHeaderTagPreference> for RelocatableHeaderTagPreferenceRaw
Source§fn from(val: RelocatableHeaderTagPreference) -> Self
fn from(val: RelocatableHeaderTagPreference) -> Self
Converts to this type from the input type.
Source§impl From<RelocatableHeaderTagPreferenceRaw> for u32
impl From<RelocatableHeaderTagPreferenceRaw> for u32
Source§fn from(raw: RelocatableHeaderTagPreferenceRaw) -> Self
fn from(raw: RelocatableHeaderTagPreferenceRaw) -> Self
Converts to this type from the input type.
Source§impl From<RelocatableHeaderTagPreferenceRaw> for RelocatableHeaderTagPreference
impl From<RelocatableHeaderTagPreferenceRaw> for RelocatableHeaderTagPreference
Source§fn from(raw: RelocatableHeaderTagPreferenceRaw) -> Self
fn from(raw: RelocatableHeaderTagPreferenceRaw) -> Self
Converts to this type from the input type.
Source§impl From<u32> for RelocatableHeaderTagPreferenceRaw
impl From<u32> for RelocatableHeaderTagPreferenceRaw
Source§impl Ord for RelocatableHeaderTagPreferenceRaw
impl Ord for RelocatableHeaderTagPreferenceRaw
Source§fn cmp(&self, other: &RelocatableHeaderTagPreferenceRaw) -> Ordering
fn cmp(&self, other: &RelocatableHeaderTagPreferenceRaw) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for RelocatableHeaderTagPreferenceRaw
impl PartialOrd for RelocatableHeaderTagPreferenceRaw
impl StructuralPartialEq for RelocatableHeaderTagPreferenceRaw
Auto Trait Implementations§
impl Freeze for RelocatableHeaderTagPreferenceRaw
impl RefUnwindSafe for RelocatableHeaderTagPreferenceRaw
impl Send for RelocatableHeaderTagPreferenceRaw
impl Sync for RelocatableHeaderTagPreferenceRaw
impl Unpin for RelocatableHeaderTagPreferenceRaw
impl UnsafeUnpin for RelocatableHeaderTagPreferenceRaw
impl UnwindSafe for RelocatableHeaderTagPreferenceRaw
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