[][src]Struct rustc_data_structures::sync::LockCell

pub struct LockCell<T>(_);

Methods

impl<T> LockCell<T>
[src]

impl<T> LockCell<Option<T>>
[src]

Trait Implementations

impl<T: Eq + Copy> Eq for LockCell<T>
[src]

impl<T: PartialOrd + Copy> PartialOrd<LockCell<T>> for LockCell<T>
[src]

impl<T: Default> Default for LockCell<T>
[src]

Creates a LockCell<T>, with the Default value for T.

impl<T: PartialEq + Copy> PartialEq<LockCell<T>> for LockCell<T>
[src]

This method tests for !=.

impl<T: Ord + Copy> Ord for LockCell<T>
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<T: Copy + Debug> Debug for LockCell<T>
[src]

Auto Trait Implementations

impl<T> Send for LockCell<T> where
    T: Send

impl<T> !Sync for LockCell<T>

Blanket Implementations

impl<T> Erased for T
[src]

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

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

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<E> SpecializationError for E
[src]

impl<T> Erased for T

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

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

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

impl<T> Erased for T