pub struct Capacity512;Expand description
Constant cache capacity = 512.
Trait Implementations§
Source§impl Capacity for Capacity512
impl Capacity for Capacity512
Source§impl Clone for Capacity512
impl Clone for Capacity512
Source§fn clone(&self) -> Capacity512
fn clone(&self) -> Capacity512
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 Capacity512
impl Debug for Capacity512
Source§impl Default for Capacity512
impl Default for Capacity512
Source§fn default() -> Capacity512
fn default() -> Capacity512
Returns the “default value” for a type. Read more
Source§impl Hash for Capacity512
impl Hash for Capacity512
Source§impl Ord for Capacity512
impl Ord for Capacity512
Source§fn cmp(&self, other: &Capacity512) -> Ordering
fn cmp(&self, other: &Capacity512) -> 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 Capacity512
impl PartialEq for Capacity512
Source§impl PartialOrd for Capacity512
impl PartialOrd for Capacity512
impl Eq for Capacity512
impl StructuralPartialEq for Capacity512
Auto Trait Implementations§
impl Freeze for Capacity512
impl RefUnwindSafe for Capacity512
impl Send for Capacity512
impl Sync for Capacity512
impl Unpin for Capacity512
impl UnwindSafe for Capacity512
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