Struct tartan_uefi::AllocateType
source · #[repr(transparent)]pub struct AllocateType(_);
Implementations§
source§impl AllocateType
impl AllocateType
pub const AnyAddress: Self = _
pub const MaxAddress: Self = _
pub const ExactAddress: Self = _
Trait Implementations§
source§impl CEnum<u32> for AllocateType
impl CEnum<u32> for AllocateType
source§impl Clone for AllocateType
impl Clone for AllocateType
source§fn clone(&self) -> AllocateType
fn clone(&self) -> AllocateType
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 AllocateType
impl Debug for AllocateType
source§impl Default for AllocateType
impl Default for AllocateType
source§fn default() -> AllocateType
fn default() -> AllocateType
Returns the “default value” for a type. Read more
source§impl From<AllocateType> for u32
impl From<AllocateType> for u32
source§fn from(enum_value: AllocateType) -> Self
fn from(enum_value: AllocateType) -> Self
Converts to this type from the input type.
source§impl From<u32> for AllocateType
impl From<u32> for AllocateType
source§impl Hash for AllocateType
impl Hash for AllocateType
source§impl Ord for AllocateType
impl Ord for AllocateType
source§fn cmp(&self, other: &AllocateType) -> Ordering
fn cmp(&self, other: &AllocateType) -> 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<AllocateType> for AllocateType
impl PartialEq<AllocateType> for AllocateType
source§fn eq(&self, other: &AllocateType) -> bool
fn eq(&self, other: &AllocateType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AllocateType> for AllocateType
impl PartialOrd<AllocateType> for AllocateType
source§fn partial_cmp(&self, other: &AllocateType) -> Option<Ordering>
fn partial_cmp(&self, other: &AllocateType) -> 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 AllocateType
impl Eq for AllocateType
impl StructuralEq for AllocateType
impl StructuralPartialEq for AllocateType
Auto Trait Implementations§
impl RefUnwindSafe for AllocateType
impl Send for AllocateType
impl Sync for AllocateType
impl Unpin for AllocateType
impl UnwindSafe for AllocateType
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