[][src]Struct basin2_lib::ilib::AtomicRef

pub struct AtomicRef<T: Send + Sync + ?Sized + 'static> { /* fields omitted */ }

Methods

impl<T: Send + Sync + ?Sized + 'static> AtomicRef<T>[src]

pub fn new() -> AtomicRef<T>[src]

pub fn set(&self, item: Arc<T>)[src]

pub fn get(&self) -> Arc<T>[src]

pub fn is_set(&self) -> bool[src]

Trait Implementations

impl<T: Clone + Send + Sync + ?Sized + 'static> Clone for AtomicRef<T>[src]

impl<T: Debug + Send + Sync + ?Sized + 'static> Debug for AtomicRef<T>[src]

impl<T: Send + Sync + ?Sized + 'static> Default for AtomicRef<T>[src]

impl<T: Send + Sync + ?Sized + 'static> Deref for AtomicRef<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Send + Sync + ?Sized + 'static> Drop for AtomicRef<T>[src]

impl<T: Send + Sync + ?Sized + 'static> From<Arc<T>> for AtomicRef<T>[src]

impl<T: PartialEq + Send + Sync + ?Sized + 'static> PartialEq<AtomicRef<T>> for AtomicRef<T>[src]

Auto Trait Implementations

impl<T: ?Sized> RefUnwindSafe for AtomicRef<T>

impl<T: ?Sized> Send for AtomicRef<T>

impl<T: ?Sized> Sync for AtomicRef<T>

impl<T: ?Sized> Unpin for AtomicRef<T>

impl<T: ?Sized> UnwindSafe for AtomicRef<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.