Struct rustc_data_structures::sync::Lock[][src]

pub struct Lock<T>(_);

Methods

impl<T> Lock<T>
[src]

Important traits for &'a mut R

Trait Implementations

impl<T: Debug> Debug for Lock<T>
[src]

Formats the value using the given formatter. Read more

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

Returns the "default value" for a type. Read more

impl<T: Clone> Clone for Lock<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

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

impl<T> !Sync for Lock<T>