Struct multiboot2::EFISdt64Tag
source · #[repr(C)]pub struct EFISdt64Tag { /* private fields */ }
Expand description
EFI system table in 64 bit mode tag.
Implementations§
source§impl EFISdt64Tag
impl EFISdt64Tag
Trait Implementations§
source§impl Clone for EFISdt64Tag
impl Clone for EFISdt64Tag
source§fn clone(&self) -> EFISdt64Tag
fn clone(&self) -> EFISdt64Tag
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 EFISdt64Tag
impl Debug for EFISdt64Tag
source§impl Hash for EFISdt64Tag
impl Hash for EFISdt64Tag
source§impl Ord for EFISdt64Tag
impl Ord for EFISdt64Tag
source§fn cmp(&self, other: &EFISdt64Tag) -> Ordering
fn cmp(&self, other: &EFISdt64Tag) -> 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 EFISdt64Tag
impl PartialEq for EFISdt64Tag
source§fn eq(&self, other: &EFISdt64Tag) -> bool
fn eq(&self, other: &EFISdt64Tag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EFISdt64Tag
impl PartialOrd for EFISdt64Tag
source§fn partial_cmp(&self, other: &EFISdt64Tag) -> Option<Ordering>
fn partial_cmp(&self, other: &EFISdt64Tag) -> 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 moresource§impl TagTrait for EFISdt64Tag
impl TagTrait for EFISdt64Tag
source§fn dst_size(_base_tag: &Tag)
fn dst_size(_base_tag: &Tag)
Returns the amount of items in the dynamically sized portion of the
DST. Note that this is not the amount of bytes. So if the dynamically
sized portion is 16 bytes in size and each element is 4 bytes big, then
this function must return 4. Read more
source§fn as_base_tag(&self) -> &Tag
fn as_base_tag(&self) -> &Tag
Returns the tag as the common base tag structure.
source§fn size(&self) -> usize
fn size(&self) -> usize
Returns the total size of the tag. The depends on the
size
field of
the tag.source§fn as_bytes(&self) -> &[u8]
fn as_bytes(&self) -> &[u8]
Returns a slice to the underlying bytes of the tag. This includes all
bytes, also for tags that are DSTs. The slice length depends on the
size
field of the tag.source§unsafe fn from_base_tag<'a>(tag: &Tag) -> &'a Self
unsafe fn from_base_tag<'a>(tag: &Tag) -> &'a Self
Creates a reference to a (dynamically sized) tag type in a safe way.
DST tags need to implement a proper
Self::dst_size
implementation. Read moreimpl Copy for EFISdt64Tag
impl Eq for EFISdt64Tag
impl StructuralPartialEq for EFISdt64Tag
Auto Trait Implementations§
impl Freeze for EFISdt64Tag
impl RefUnwindSafe for EFISdt64Tag
impl Send for EFISdt64Tag
impl Sync for EFISdt64Tag
impl Unpin for EFISdt64Tag
impl UnwindSafe for EFISdt64Tag
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