Struct tark::Tark [−][src]
pub struct Tark<T: ?Sized> { /* fields omitted */ }
Implementations
impl<T: ?Sized> Tark<T>
[src]
pub fn new(t: T) -> Self where
T: Sized,
[src]
T: Sized,
pub fn atomic_count(this: &Self) -> NonZeroUsize
[src]
pub fn strong_count(this: &Self) -> usize
[src]
pub fn weak_count(this: &Self) -> usize
[src]
pub fn downgrade(this: &Self) -> Weak<T>
[src]
pub fn swap<'a>(this: &'a Self, other: &'a Tark<T>)
[src]
impl<T: ?Sized + Send + Sync> Tark<T>
[src]
Trait Implementations
impl<T: ?Sized> AsRef<T> for Tark<T>
[src]
impl<T: ?Sized> Borrow<T> for Tark<T>
[src]
impl<T: ?Sized> Clone for Tark<T>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
[src]
impl<T: ?Sized + Debug> Debug for Tark<T>
[src]
impl<T: ?Sized> Deref for Tark<T>
[src]
impl<T: ?Sized + Display> Display for Tark<T>
[src]
impl<T: ?Sized> Drop for Tark<T>
[src]
impl<T: ?Sized + Eq> Eq for Tark<T>
[src]
impl<T: ?Sized + Hash> Hash for Tark<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 + Ord> Ord for Tark<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 + PartialEq> PartialEq<Tark<T>> for Tark<T>
[src]
impl<T: ?Sized + PartialOrd> PartialOrd<Tark<T>> for Tark<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> Pointer for Tark<T>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for Tark<T>
impl<T> !Send for Tark<T>
impl<T> !Sync for Tark<T>
impl<T: ?Sized> Unpin for Tark<T>
impl<T> !UnwindSafe for Tark<T>
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>,