Struct quick_cache::UnitWeighter
source · pub struct UnitWeighter;Expand description
Each cache entry weights exactly 1 unit of weight.
Trait Implementations§
source§impl Clone for UnitWeighter
impl Clone for UnitWeighter
source§fn clone(&self) -> UnitWeighter
fn clone(&self) -> UnitWeighter
Returns a copy 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 UnitWeighter
impl Debug for UnitWeighter
Auto Trait Implementations§
impl RefUnwindSafe for UnitWeighter
impl Send for UnitWeighter
impl Sync for UnitWeighter
impl Unpin for UnitWeighter
impl UnwindSafe for UnitWeighter
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