pub struct HeaderTagFlagRaw(/* private fields */);Expand description
ABI compatible representation of the flags of a Multiboot2 header tag.
This type matches the binary representation (u16) and stands in the
flags property of HeaderTagHeader.
Implementations§
Trait Implementations§
Source§impl Clone for HeaderTagFlagRaw
impl Clone for HeaderTagFlagRaw
Source§fn clone(&self) -> HeaderTagFlagRaw
fn clone(&self) -> HeaderTagFlagRaw
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 HeaderTagFlagRaw
Source§impl Debug for HeaderTagFlagRaw
impl Debug for HeaderTagFlagRaw
Source§impl Display for HeaderTagFlagRaw
impl Display for HeaderTagFlagRaw
impl Eq for HeaderTagFlagRaw
Source§impl From<HeaderTagFlag> for HeaderTagFlagRaw
impl From<HeaderTagFlag> for HeaderTagFlagRaw
Source§fn from(val: HeaderTagFlag) -> Self
fn from(val: HeaderTagFlag) -> Self
Converts to this type from the input type.
Source§impl From<HeaderTagFlagRaw> for u16
impl From<HeaderTagFlagRaw> for u16
Source§fn from(raw: HeaderTagFlagRaw) -> Self
fn from(raw: HeaderTagFlagRaw) -> Self
Converts to this type from the input type.
Source§impl From<HeaderTagFlagRaw> for HeaderTagFlag
impl From<HeaderTagFlagRaw> for HeaderTagFlag
Source§fn from(raw: HeaderTagFlagRaw) -> Self
fn from(raw: HeaderTagFlagRaw) -> Self
Converts to this type from the input type.
Source§impl From<u16> for HeaderTagFlagRaw
impl From<u16> for HeaderTagFlagRaw
Source§impl Hash for HeaderTagFlagRaw
impl Hash for HeaderTagFlagRaw
Source§impl Ord for HeaderTagFlagRaw
impl Ord for HeaderTagFlagRaw
Source§fn cmp(&self, other: &HeaderTagFlagRaw) -> Ordering
fn cmp(&self, other: &HeaderTagFlagRaw) -> 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 HeaderTagFlagRaw
impl PartialEq for HeaderTagFlagRaw
Source§impl PartialEq<HeaderTagFlag> for HeaderTagFlagRaw
impl PartialEq<HeaderTagFlag> for HeaderTagFlagRaw
Source§impl PartialEq<HeaderTagFlagRaw> for HeaderTagFlag
impl PartialEq<HeaderTagFlagRaw> for HeaderTagFlag
Source§impl PartialEq<HeaderTagFlagRaw> for u16
impl PartialEq<HeaderTagFlagRaw> for u16
Source§impl PartialEq<u16> for HeaderTagFlagRaw
impl PartialEq<u16> for HeaderTagFlagRaw
Source§impl PartialOrd for HeaderTagFlagRaw
impl PartialOrd for HeaderTagFlagRaw
impl StructuralPartialEq for HeaderTagFlagRaw
Auto Trait Implementations§
impl Freeze for HeaderTagFlagRaw
impl RefUnwindSafe for HeaderTagFlagRaw
impl Send for HeaderTagFlagRaw
impl Sync for HeaderTagFlagRaw
impl Unpin for HeaderTagFlagRaw
impl UnsafeUnpin for HeaderTagFlagRaw
impl UnwindSafe for HeaderTagFlagRaw
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