pub struct SpeculativeIdentity(/* private fields */);Expand description
Stable neutral identity used by speculative selection and cache keys.
Implementations§
Trait Implementations§
Source§impl Clone for SpeculativeIdentity
impl Clone for SpeculativeIdentity
Source§fn clone(&self) -> SpeculativeIdentity
fn clone(&self) -> SpeculativeIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SpeculativeIdentity
impl Debug for SpeculativeIdentity
impl Eq for SpeculativeIdentity
Source§impl Hash for SpeculativeIdentity
impl Hash for SpeculativeIdentity
Source§impl Ord for SpeculativeIdentity
impl Ord for SpeculativeIdentity
Source§fn cmp(&self, other: &SpeculativeIdentity) -> Ordering
fn cmp(&self, other: &SpeculativeIdentity) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SpeculativeIdentity
impl PartialEq for SpeculativeIdentity
Source§impl PartialOrd for SpeculativeIdentity
impl PartialOrd for SpeculativeIdentity
impl StructuralPartialEq for SpeculativeIdentity
Auto Trait Implementations§
impl Freeze for SpeculativeIdentity
impl RefUnwindSafe for SpeculativeIdentity
impl Send for SpeculativeIdentity
impl Sync for SpeculativeIdentity
impl Unpin for SpeculativeIdentity
impl UnsafeUnpin for SpeculativeIdentity
impl UnwindSafe for SpeculativeIdentity
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