[][src]Struct basin2_lib::ilib::AtomicSet

pub struct AtomicSet<T: Send + Sync + Sized> { /* fields omitted */ }

Methods

impl<T: Send + Sync + Sized> AtomicSet<T>[src]

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

pub fn try_set(&self, item: T) -> bool[src]

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

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

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

Trait Implementations

impl<T: Clone + Send + Sync + Sized> Clone for AtomicSet<T>[src]

impl<T: Debug + Send + Sync + Sized> Debug for AtomicSet<T>[src]

impl<T: Send + Sync + Sized> Default for AtomicSet<T>[src]

impl<T: Send + Sync + Sized> Deref for AtomicSet<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Send + Sync + Sized> Drop for AtomicSet<T>[src]

impl<T: PartialEq + Send + Sync + Sized> PartialEq<AtomicSet<T>> for AtomicSet<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for AtomicSet<T>

impl<T> Send for AtomicSet<T>

impl<T> Sync for AtomicSet<T>

impl<T> Unpin for AtomicSet<T>

impl<T> UnwindSafe for AtomicSet<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.