[−][src]Struct basin2_lib::ilib::AtomicRef
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]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
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,
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,
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,