Struct multiboot2_header::ModuleAlignHeaderTag
source · #[repr(C)]pub struct ModuleAlignHeaderTag { /* private fields */ }Expand description
If this tag is present, provided boot modules must be page aligned.
Implementations§
source§impl ModuleAlignHeaderTag
impl ModuleAlignHeaderTag
pub const fn new(flags: HeaderTagFlag) -> Self
pub const fn typ(&self) -> HeaderTagType
pub const fn flags(&self) -> HeaderTagFlag
pub const fn size(&self) -> u32
Trait Implementations§
source§impl Clone for ModuleAlignHeaderTag
impl Clone for ModuleAlignHeaderTag
source§fn clone(&self) -> ModuleAlignHeaderTag
fn clone(&self) -> ModuleAlignHeaderTag
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 ModuleAlignHeaderTag
impl Debug for ModuleAlignHeaderTag
source§impl Hash for ModuleAlignHeaderTag
impl Hash for ModuleAlignHeaderTag
source§impl Ord for ModuleAlignHeaderTag
impl Ord for ModuleAlignHeaderTag
source§fn cmp(&self, other: &ModuleAlignHeaderTag) -> Ordering
fn cmp(&self, other: &ModuleAlignHeaderTag) -> 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 ModuleAlignHeaderTag
impl PartialEq for ModuleAlignHeaderTag
source§fn eq(&self, other: &ModuleAlignHeaderTag) -> bool
fn eq(&self, other: &ModuleAlignHeaderTag) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ModuleAlignHeaderTag
impl PartialOrd for ModuleAlignHeaderTag
source§fn partial_cmp(&self, other: &ModuleAlignHeaderTag) -> Option<Ordering>
fn partial_cmp(&self, other: &ModuleAlignHeaderTag) -> 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 ModuleAlignHeaderTag
impl Eq for ModuleAlignHeaderTag
impl StructuralEq for ModuleAlignHeaderTag
impl StructuralPartialEq for ModuleAlignHeaderTag
Auto Trait Implementations§
impl RefUnwindSafe for ModuleAlignHeaderTag
impl Send for ModuleAlignHeaderTag
impl Sync for ModuleAlignHeaderTag
impl Unpin for ModuleAlignHeaderTag
impl UnwindSafe for ModuleAlignHeaderTag
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