Struct tark::TarkSend [−][src]
Implementations
impl<T: ?Sized + Send + Sync> TarkSend<T>
[src]
pub fn new(t: T) -> Self where
T: Sized,
[src]
T: Sized,
pub fn atomic_count(this: &Self) -> NonZeroUsize
[src]
pub fn promote(this: Self) -> Tark<T>
[src]
pub fn promote_ref(this: &Self) -> Tark<T>
[src]
pub fn ptr_eq(this: &Self, other: &Self) -> bool
[src]
Trait Implementations
impl<T: ?Sized + Send + Sync> AsRef<T> for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync> Borrow<T> for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync> Clone for TarkSend<T>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
[src]
impl<T: ?Sized + Send + Sync + Debug> Debug for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync> Deref for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync + Display> Display for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync> Drop for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync + Eq> Eq for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync + Hash> Hash for TarkSend<T>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: ?Sized + Send + Sync + Ord> Ord for TarkSend<T>
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
pub fn max(self, other: Self) -> Self#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
pub fn min(self, other: Self) -> Self#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
#[must_use]
pub fn clamp(self, min: Self, max: Self) -> Selfimpl<T: ?Sized + Send + Sync + PartialEq> PartialEq<TarkSend<T>> for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync + PartialOrd> PartialOrd<TarkSend<T>> for TarkSend<T>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn lt(&self, other: &Self) -> bool
[src]
fn le(&self, other: &Self) -> bool
[src]
fn gt(&self, other: &Self) -> bool
[src]
fn ge(&self, other: &Self) -> bool
[src]
impl<T: ?Sized + Send + Sync> Pointer for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync> Send for TarkSend<T>
[src]
impl<T: ?Sized + Send + Sync> Sync for TarkSend<T>
[src]
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for TarkSend<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T: ?Sized> Unpin for TarkSend<T>
impl<T: ?Sized> UnwindSafe for TarkSend<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,