pub enum HMATCachePolicy {
None,
WriteBack,
WriteThrough,
}Variants§
Trait Implementations§
Source§impl Arbitrary for HMATCachePolicy
impl Arbitrary for HMATCachePolicy
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> HMATCachePolicy>), (u32, Arc<fn() -> HMATCachePolicy>), (u32, Arc<fn() -> HMATCachePolicy>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> HMATCachePolicy>), (u32, Arc<fn() -> HMATCachePolicy>), (u32, Arc<fn() -> HMATCachePolicy>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for HMATCachePolicy
impl Clone for HMATCachePolicy
Source§fn clone(&self) -> HMATCachePolicy
fn clone(&self) -> HMATCachePolicy
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 HMATCachePolicy
impl Debug for HMATCachePolicy
Source§impl Hash for HMATCachePolicy
impl Hash for HMATCachePolicy
Source§impl Ord for HMATCachePolicy
impl Ord for HMATCachePolicy
Source§fn cmp(&self, other: &HMATCachePolicy) -> Ordering
fn cmp(&self, other: &HMATCachePolicy) -> 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 HMATCachePolicy
impl PartialEq for HMATCachePolicy
Source§impl PartialOrd for HMATCachePolicy
impl PartialOrd for HMATCachePolicy
impl Eq for HMATCachePolicy
impl StructuralPartialEq for HMATCachePolicy
Auto Trait Implementations§
impl Freeze for HMATCachePolicy
impl RefUnwindSafe for HMATCachePolicy
impl Send for HMATCachePolicy
impl Sync for HMATCachePolicy
impl Unpin for HMATCachePolicy
impl UnsafeUnpin for HMATCachePolicy
impl UnwindSafe for HMATCachePolicy
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