pub enum HeaderTagISA {
I386,
MIPS32,
Custom(u32),
}Expand description
The ISA/ARCH a Multiboot2 image targets.
This is a higher level abstraction for HeaderTagISARaw.
Variants§
I386
Spec: “means 32-bit (protected) mode of i386”.
Caution: This is confusing. If you use the EFI64-tag
on an UEFI system, the machine will boot into 64-bit long mode.
Therefore this tag should be understood as “arch=x86|x86_64”.
MIPS32
32-bit MIPS
Custom(u32)
Value without a specified semantic in the specification.
Implementations§
Source§impl HeaderTagISA
impl HeaderTagISA
Trait Implementations§
Source§impl Clone for HeaderTagISA
impl Clone for HeaderTagISA
Source§fn clone(&self) -> HeaderTagISA
fn clone(&self) -> HeaderTagISA
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 HeaderTagISA
Source§impl Debug for HeaderTagISA
impl Debug for HeaderTagISA
Source§impl Display for HeaderTagISA
impl Display for HeaderTagISA
impl Eq for HeaderTagISA
Source§impl From<HeaderTagISA> for u32
impl From<HeaderTagISA> for u32
Source§fn from(val: HeaderTagISA) -> Self
fn from(val: HeaderTagISA) -> Self
Converts to this type from the input type.
Source§impl From<HeaderTagISA> for HeaderTagISARaw
impl From<HeaderTagISA> for HeaderTagISARaw
Source§fn from(val: HeaderTagISA) -> Self
fn from(val: HeaderTagISA) -> Self
Converts to this type from the input type.
Source§impl From<HeaderTagISARaw> for HeaderTagISA
impl From<HeaderTagISARaw> for HeaderTagISA
Source§fn from(raw: HeaderTagISARaw) -> Self
fn from(raw: HeaderTagISARaw) -> Self
Converts to this type from the input type.
Source§impl From<u32> for HeaderTagISA
impl From<u32> for HeaderTagISA
Source§impl Hash for HeaderTagISA
impl Hash for HeaderTagISA
Source§impl Ord for HeaderTagISA
impl Ord for HeaderTagISA
Source§fn cmp(&self, other: &HeaderTagISA) -> Ordering
fn cmp(&self, other: &HeaderTagISA) -> 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 PartialEq for HeaderTagISA
impl PartialEq for HeaderTagISA
Source§impl PartialEq<HeaderTagISA> for HeaderTagISARaw
impl PartialEq<HeaderTagISA> for HeaderTagISARaw
Source§impl PartialEq<HeaderTagISA> for u32
impl PartialEq<HeaderTagISA> for u32
Source§impl PartialEq<HeaderTagISARaw> for HeaderTagISA
impl PartialEq<HeaderTagISARaw> for HeaderTagISA
Source§impl PartialEq<u32> for HeaderTagISA
impl PartialEq<u32> for HeaderTagISA
Source§impl PartialOrd for HeaderTagISA
impl PartialOrd for HeaderTagISA
impl StructuralPartialEq for HeaderTagISA
Auto Trait Implementations§
impl Freeze for HeaderTagISA
impl RefUnwindSafe for HeaderTagISA
impl Send for HeaderTagISA
impl Sync for HeaderTagISA
impl Unpin for HeaderTagISA
impl UnsafeUnpin for HeaderTagISA
impl UnwindSafe for HeaderTagISA
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