#[repr(transparent)]pub struct PurgeableState(pub usize);Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for PurgeableState
impl Clone for PurgeableState
Source§fn clone(&self) -> PurgeableState
fn clone(&self) -> PurgeableState
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 moreSource§impl Debug for PurgeableState
impl Debug for PurgeableState
Source§impl Default for PurgeableState
impl Default for PurgeableState
Source§fn default() -> PurgeableState
fn default() -> PurgeableState
Returns the “default value” for a type. Read more
Source§impl From<PurgeableState> for usize
impl From<PurgeableState> for usize
Source§fn from(value: PurgeableState) -> Self
fn from(value: PurgeableState) -> Self
Converts to this type from the input type.
Source§impl From<usize> for PurgeableState
impl From<usize> for PurgeableState
Source§impl Hash for PurgeableState
impl Hash for PurgeableState
Source§impl Ord for PurgeableState
impl Ord for PurgeableState
Source§fn cmp(&self, other: &PurgeableState) -> Ordering
fn cmp(&self, other: &PurgeableState) -> 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 PurgeableState
impl PartialEq for PurgeableState
Source§fn eq(&self, other: &PurgeableState) -> bool
fn eq(&self, other: &PurgeableState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PurgeableState
impl PartialOrd for PurgeableState
impl Copy for PurgeableState
impl Eq for PurgeableState
impl StructuralPartialEq for PurgeableState
Auto Trait Implementations§
impl Freeze for PurgeableState
impl RefUnwindSafe for PurgeableState
impl Send for PurgeableState
impl Sync for PurgeableState
impl Unpin for PurgeableState
impl UnsafeUnpin for PurgeableState
impl UnwindSafe for PurgeableState
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