pub struct Capacity2;Expand description
Constant cache capacity = 2.
Trait Implementations§
impl Eq for Capacity2
Source§impl Ord for Capacity2
impl Ord for Capacity2
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 PartialOrd for Capacity2
impl PartialOrd for Capacity2
impl StructuralPartialEq for Capacity2
Auto Trait Implementations§
impl Freeze for Capacity2
impl RefUnwindSafe for Capacity2
impl Send for Capacity2
impl Sync for Capacity2
impl Unpin for Capacity2
impl UnsafeUnpin for Capacity2
impl UnwindSafe for Capacity2
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