pub struct MemoryPage(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl MemoryPage
impl MemoryPage
pub const fn empty() -> MemoryPage
Trait Implementations§
Source§impl Clone for MemoryPage
impl Clone for MemoryPage
Source§fn clone(&self) -> MemoryPage
fn clone(&self) -> MemoryPage
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 MemoryPage
Source§impl Debug for MemoryPage
impl Debug for MemoryPage
Source§impl<'de> Deserialize<'de> for MemoryPage
impl<'de> Deserialize<'de> for MemoryPage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryPage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryPage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryPage
Source§impl Hash for MemoryPage
impl Hash for MemoryPage
Source§impl Ord for MemoryPage
impl Ord for MemoryPage
Source§fn cmp(&self, other: &MemoryPage) -> Ordering
fn cmp(&self, other: &MemoryPage) -> 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
Source§impl PartialEq for MemoryPage
impl PartialEq for MemoryPage
Source§fn eq(&self, other: &MemoryPage) -> bool
fn eq(&self, other: &MemoryPage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MemoryPage
impl PartialOrd for MemoryPage
Source§impl Serialize for MemoryPage
impl Serialize for MemoryPage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MemoryPage
Auto Trait Implementations§
impl Freeze for MemoryPage
impl RefUnwindSafe for MemoryPage
impl Send for MemoryPage
impl Sync for MemoryPage
impl Unpin for MemoryPage
impl UnsafeUnpin for MemoryPage
impl UnwindSafe for MemoryPage
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