pub struct PointerFourWay;Expand description
Four-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 PointerFourWay
impl Clone for PointerFourWay
Source§fn clone(&self) -> PointerFourWay
fn clone(&self) -> PointerFourWay
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 PointerFourWay
impl Debug for PointerFourWay
Source§impl Default for PointerFourWay
impl Default for PointerFourWay
Source§fn default() -> PointerFourWay
fn default() -> PointerFourWay
Returns the “default value” for a type. Read more
Source§impl Hash for PointerFourWay
impl Hash for PointerFourWay
Source§impl<T, C> Indices<*const T, C> for PointerFourWaywhere
C: Capacity,
impl<T, C> Indices<*const T, C> for PointerFourWaywhere
C: Capacity,
Source§impl<T, C> Indices<*mut T, C> for PointerFourWaywhere
C: Capacity,
impl<T, C> Indices<*mut T, C> for PointerFourWaywhere
C: Capacity,
Source§impl Ord for PointerFourWay
impl Ord for PointerFourWay
Source§fn cmp(&self, other: &PointerFourWay) -> Ordering
fn cmp(&self, other: &PointerFourWay) -> 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 PointerFourWay
impl PartialEq for PointerFourWay
Source§impl PartialOrd for PointerFourWay
impl PartialOrd for PointerFourWay
impl Eq for PointerFourWay
impl StructuralPartialEq for PointerFourWay
Auto Trait Implementations§
impl Freeze for PointerFourWay
impl RefUnwindSafe for PointerFourWay
impl Send for PointerFourWay
impl Sync for PointerFourWay
impl Unpin for PointerFourWay
impl UnwindSafe for PointerFourWay
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