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

pub struct LockCell<T>(_);

Methods

impl<T> LockCell<T>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

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

[src]

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

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

[src]

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

1.0.0
[src]

This method tests for !=.

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

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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]

[src]

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

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

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>