#[repr(transparent)]pub struct AllocateType(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl AllocateType
impl AllocateType
pub const ANY_PAGES: AllocateType
pub const MAX_ADDRESS: AllocateType
pub const ADDRESS: AllocateType
pub const MAX_ALLOCATE_TYPE: AllocateType
Trait Implementations§
Source§impl Clone for AllocateType
impl Clone for AllocateType
Source§fn clone(&self) -> AllocateType
fn clone(&self) -> AllocateType
Returns a duplicate 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 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 for AllocateType
impl PartialEq for AllocateType
Source§impl PartialOrd for AllocateType
impl PartialOrd for AllocateType
impl Copy for AllocateType
impl Eq for AllocateType
impl StructuralPartialEq for AllocateType
Auto Trait Implementations§
impl Freeze for AllocateType
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