pub struct SendableComp<T>(pub T);
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T: Clone> Clone for SendableComp<T>
impl<T: Clone> Clone for SendableComp<T>
Source§fn clone(&self) -> SendableComp<T>
fn clone(&self) -> SendableComp<T>
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<T: Debug> Debug for SendableComp<T>
impl<T: Debug> Debug for SendableComp<T>
Source§impl<T: Hash> Hash for SendableComp<T>
impl<T: Hash> Hash for SendableComp<T>
Source§impl<T: PartialEq> PartialEq for SendableComp<T>
impl<T: PartialEq> PartialEq for SendableComp<T>
impl<T: Eq> Eq for SendableComp<T>
impl<T: PartialEq> Send for SendableComp<T>
impl<T> StructuralPartialEq for SendableComp<T>
impl<T: PartialEq> Sync for SendableComp<T>
Auto Trait Implementations§
impl<T> Freeze for SendableComp<T>where
T: Freeze,
impl<T> RefUnwindSafe for SendableComp<T>where
T: RefUnwindSafe,
impl<T> Unpin for SendableComp<T>where
T: Unpin,
impl<T> UnwindSafe for SendableComp<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.