Struct hwlocality::object::attributes::MemoryPageType
source · pub struct MemoryPageType(/* private fields */);
Expand description
Local memory page type
Implementations§
Trait Implementations§
source§impl Arbitrary for MemoryPageType
Available on crate feature proptest
only.
impl Arbitrary for MemoryPageType
Available on crate feature
proptest
only.§type Parameters = <u64 as Arbitrary>::Parameters
type Parameters = <u64 as Arbitrary>::Parameters
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = Map<(TupleUnion<((u32, Arc<RangeInclusive<u64>>), (u32, Arc<Just<u64>>))>, <u64 as Arbitrary>::Strategy), fn(_: (u64, u64)) -> MemoryPageType>
type Strategy = Map<(TupleUnion<((u32, Arc<RangeInclusive<u64>>), (u32, Arc<Just<u64>>))>, <u64 as Arbitrary>::Strategy), fn(_: (u64, u64)) -> MemoryPageType>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
source§impl Clone for MemoryPageType
impl Clone for MemoryPageType
source§fn clone(&self) -> MemoryPageType
fn clone(&self) -> MemoryPageType
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 MemoryPageType
impl Debug for MemoryPageType
source§impl Hash for MemoryPageType
impl Hash for MemoryPageType
source§impl Ord for MemoryPageType
impl Ord for MemoryPageType
source§fn cmp(&self, other: &MemoryPageType) -> Ordering
fn cmp(&self, other: &MemoryPageType) -> 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 MemoryPageType
impl PartialEq for MemoryPageType
source§impl PartialOrd for MemoryPageType
impl PartialOrd for MemoryPageType
impl Copy for MemoryPageType
impl Eq for MemoryPageType
impl StructuralPartialEq for MemoryPageType
Auto Trait Implementations§
impl Freeze for MemoryPageType
impl RefUnwindSafe for MemoryPageType
impl Send for MemoryPageType
impl Sync for MemoryPageType
impl Unpin for MemoryPageType
impl UnwindSafe for MemoryPageType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)