pub struct RevisionKey<const N: usize>(/* private fields */);Expand description
A fixed-width collection of revisions suitable for cache keys.
Implementations§
Trait Implementations§
Source§impl<const N: usize> Clone for RevisionKey<N>
impl<const N: usize> Clone for RevisionKey<N>
Source§fn clone(&self) -> RevisionKey<N>
fn clone(&self) -> RevisionKey<N>
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<const N: usize> Copy for RevisionKey<N>
Source§impl<const N: usize> Debug for RevisionKey<N>
impl<const N: usize> Debug for RevisionKey<N>
impl<const N: usize> Eq for RevisionKey<N>
Source§impl<const N: usize> Hash for RevisionKey<N>
impl<const N: usize> Hash for RevisionKey<N>
Source§impl<const N: usize> Ord for RevisionKey<N>
impl<const N: usize> Ord for RevisionKey<N>
Source§fn cmp(&self, other: &RevisionKey<N>) -> Ordering
fn cmp(&self, other: &RevisionKey<N>) -> 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<const N: usize> PartialEq for RevisionKey<N>
impl<const N: usize> PartialEq for RevisionKey<N>
Source§impl<const N: usize> PartialOrd for RevisionKey<N>
impl<const N: usize> PartialOrd for RevisionKey<N>
impl<const N: usize> StructuralPartialEq for RevisionKey<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for RevisionKey<N>
impl<const N: usize> RefUnwindSafe for RevisionKey<N>
impl<const N: usize> Send for RevisionKey<N>
impl<const N: usize> Sync for RevisionKey<N>
impl<const N: usize> Unpin for RevisionKey<N>
impl<const N: usize> UnsafeUnpin for RevisionKey<N>
impl<const N: usize> UnwindSafe for RevisionKey<N>
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