pub struct PointerTwoWay;Expand description
Two-way set associative caching based on the key’s pointer value.
See the Indices trait’s documentation for more on associativity.
Trait Implementations§
Source§impl Clone for PointerTwoWay
impl Clone for PointerTwoWay
Source§fn clone(&self) -> PointerTwoWay
fn clone(&self) -> PointerTwoWay
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 PointerTwoWay
impl Debug for PointerTwoWay
Source§impl Default for PointerTwoWay
impl Default for PointerTwoWay
Source§fn default() -> PointerTwoWay
fn default() -> PointerTwoWay
Returns the “default value” for a type. Read more
Source§impl Hash for PointerTwoWay
impl Hash for PointerTwoWay
Source§impl<T, C> Indices<*const T, C> for PointerTwoWaywhere
C: Capacity,
impl<T, C> Indices<*const T, C> for PointerTwoWaywhere
C: Capacity,
Source§impl<T, C> Indices<*mut T, C> for PointerTwoWaywhere
C: Capacity,
impl<T, C> Indices<*mut T, C> for PointerTwoWaywhere
C: Capacity,
Source§impl Ord for PointerTwoWay
impl Ord for PointerTwoWay
Source§fn cmp(&self, other: &PointerTwoWay) -> Ordering
fn cmp(&self, other: &PointerTwoWay) -> 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 PointerTwoWay
impl PartialEq for PointerTwoWay
Source§impl PartialOrd for PointerTwoWay
impl PartialOrd for PointerTwoWay
impl Eq for PointerTwoWay
impl StructuralPartialEq for PointerTwoWay
Auto Trait Implementations§
impl Freeze for PointerTwoWay
impl RefUnwindSafe for PointerTwoWay
impl Send for PointerTwoWay
impl Sync for PointerTwoWay
impl Unpin for PointerTwoWay
impl UnwindSafe for PointerTwoWay
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