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

pub struct LockCell<T>(_);

Methods

impl<T> LockCell<T>
[src]

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

Trait Implementations

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

Formats the value using the given formatter. Read more

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

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

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

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

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

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

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Auto Trait Implementations

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

impl<T> !Sync for LockCell<T>