[−][src]Struct reference_counted::UniqueArc
Trait Implementations
impl<T: ?Sized> AsMut<T> for UniqueArc<T>
[src]
impl<T: ?Sized> AsRef<T> for UniqueArc<T>
[src]
impl<T: ?Sized> Borrow<T> for UniqueArc<T>
[src]
impl<T: ?Sized> BorrowMut<T> for UniqueArc<T>
[src]
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T: ?Sized + Debug> Debug for UniqueArc<T>
[src]
impl<T: Default> Default for UniqueArc<T>
[src]
impl<T: ?Sized> Deref for UniqueArc<T>
[src]
impl<T: ?Sized> DerefMut for UniqueArc<T>
[src]
impl<T: ?Sized + Display> Display for UniqueArc<T>
[src]
impl<T: ?Sized + Eq> Eq for UniqueArc<T>
[src]
impl<T> From<T> for UniqueArc<T>
[src]
impl<T: ?Sized + Hash> Hash for UniqueArc<T>
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: ?Sized> Into<Arc<T>> for UniqueArc<T>
[src]
impl<T: ?Sized + Ord> Ord for UniqueArc<T>
[src]
fn cmp(&self, other: &UniqueArc<T>) -> Ordering
[src]
Comparison for two UniqueArc
s.
The two are compared by calling cmp()
on their inner values.
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<T: ?Sized + PartialEq> PartialEq<UniqueArc<T>> for UniqueArc<T>
[src]
fn eq(&self, other: &UniqueArc<T>) -> bool
[src]
Equality for two UniqueArc
s.
Two UniqueArc
s are equal if their inner values are equal, even if they are
stored in different allocation. This implementation does not check for
pointer equality.
fn ne(&self, other: &UniqueArc<T>) -> bool
[src]
Inequality for two Arc
s.
Two Arc
s are unequal if their inner values are unequal. This implementation does not
check for pointer equality.
impl<T: ?Sized + PartialOrd> PartialOrd<UniqueArc<T>> for UniqueArc<T>
[src]
fn partial_cmp(&self, other: &UniqueArc<T>) -> Option<Ordering>
[src]
Partial comparison for two UniqueArc
s.
The two are compared by calling partial_cmp()
on their inner values.
fn lt(&self, other: &UniqueArc<T>) -> bool
[src]
Less-than comparison for two UniqueArc
s.
The two are compared by calling <
on their inner values.
fn le(&self, other: &UniqueArc<T>) -> bool
[src]
'Less than or equal to' comparison for two UniqueArc
s.
The two are compared by calling <=
on their inner values.
fn gt(&self, other: &UniqueArc<T>) -> bool
[src]
Greater-than comparison for two UniqueArc
s.
The two are compared by calling >
on their inner values.
fn ge(&self, other: &UniqueArc<T>) -> bool
[src]
'Greater than or equal to' comparison for two UniqueArc
s.
The two are compared by calling >=
on their inner values.
impl<T: ?Sized> Pointer for UniqueArc<T>
[src]
impl<T: ?Sized + Sync + Send> Send for UniqueArc<T>
[src]
impl<T: ?Sized> SmartPointer<T> for UniqueArc<T>
[src]
fn new(data: T) -> Self where
T: Sized,
[src]
T: Sized,
fn try_unwrap(this: Self) -> Result<T, Self> where
T: Sized,
[src]
T: Sized,
impl<T: ?Sized> SmartPointerMut<T> for UniqueArc<T>
[src]
impl<T: ?Sized + Sync + Send> Sync for UniqueArc<T>
[src]
impl<T: ?Sized> Unpin for UniqueArc<T>
[src]
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for 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> 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.
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>,