#[repr(u32)]pub enum RelocatableHeaderTagPreference {
None = 0,
Low = 1,
High = 2,
}
Expand description
It contains load address placement suggestion for bootloader.
Bootloader should follow it. ‘0’ means none, ‘1’ means load image at lowest possible address but not lower than min addr and ‘2’ means load image at highest possible address but not higher than max addr.
Variants§
None = 0
Let boot loader decide.
Low = 1
Locate at lower end of possible address space.
High = 2
Locate at higher end of possible address space.
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Ord for RelocatableHeaderTagPreference
impl Ord for RelocatableHeaderTagPreference
Source§fn cmp(&self, other: &RelocatableHeaderTagPreference) -> Ordering
fn cmp(&self, other: &RelocatableHeaderTagPreference) -> 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 RelocatableHeaderTagPreference
impl PartialEq for RelocatableHeaderTagPreference
Source§fn eq(&self, other: &RelocatableHeaderTagPreference) -> bool
fn eq(&self, other: &RelocatableHeaderTagPreference) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for RelocatableHeaderTagPreference
impl PartialOrd for RelocatableHeaderTagPreference
impl Copy for RelocatableHeaderTagPreference
impl Eq 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 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