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