#[repr(u32)]pub enum RelocatableHeaderTagPreference {
None = 0,
Low = 1,
High = 2,
}Expand description
Specifies the bootloader’s preferred placement for a relocatable image.
Variants§
None = 0
Let the bootloader choose the image location.
Low = 1
Load the image at the lowest possible address that is not below
min_addr.
High = 2
Load the image at the highest possible address that does not end above
max_addr.
Trait Implementations§
Source§impl Clone for RelocatableHeaderTagPreference
impl Clone for RelocatableHeaderTagPreference
Source§fn clone(&self) -> RelocatableHeaderTagPreference
fn clone(&self) -> RelocatableHeaderTagPreference
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 RelocatableHeaderTagPreference
impl Eq for RelocatableHeaderTagPreference
Source§impl Ord for RelocatableHeaderTagPreference
impl Ord for RelocatableHeaderTagPreference
Source§fn cmp(&self, other: &RelocatableHeaderTagPreference) -> Ordering
fn cmp(&self, other: &RelocatableHeaderTagPreference) -> 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
Source§impl PartialOrd for RelocatableHeaderTagPreference
impl PartialOrd for RelocatableHeaderTagPreference
impl StructuralPartialEq for RelocatableHeaderTagPreference
Auto Trait Implementations§
impl Freeze for RelocatableHeaderTagPreference
impl RefUnwindSafe for RelocatableHeaderTagPreference
impl Send for RelocatableHeaderTagPreference
impl Sync for RelocatableHeaderTagPreference
impl Unpin for RelocatableHeaderTagPreference
impl UnsafeUnpin for RelocatableHeaderTagPreference
impl UnwindSafe for RelocatableHeaderTagPreference
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