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
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 more