pub struct Capacity16;Expand description
Constant cache capacity = 16.
Trait Implementations§
Source§impl Capacity for Capacity16
impl Capacity for Capacity16
Source§impl Clone for Capacity16
impl Clone for Capacity16
Source§fn clone(&self) -> Capacity16
fn clone(&self) -> Capacity16
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 Capacity16
impl Debug for Capacity16
Source§impl Default for Capacity16
impl Default for Capacity16
Source§fn default() -> Capacity16
fn default() -> Capacity16
Returns the “default value” for a type. Read more
impl Eq for Capacity16
Source§impl Hash for Capacity16
impl Hash for Capacity16
Source§impl Ord for Capacity16
impl Ord for Capacity16
Source§fn cmp(&self, other: &Capacity16) -> Ordering
fn cmp(&self, other: &Capacity16) -> 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 Capacity16
impl PartialEq for Capacity16
Source§fn eq(&self, other: &Capacity16) -> bool
fn eq(&self, other: &Capacity16) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Capacity16
impl PartialOrd for Capacity16
impl StructuralPartialEq for Capacity16
Auto Trait Implementations§
impl Freeze for Capacity16
impl RefUnwindSafe for Capacity16
impl Send for Capacity16
impl Sync for Capacity16
impl Unpin for Capacity16
impl UnsafeUnpin for Capacity16
impl UnwindSafe for Capacity16
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