Struct kernel::common::volatile_cell::VolatileCell
[−]
[src]
#[repr(C)]pub struct VolatileCell<T> { value: T, }
Fields
value: T
Methods
impl<T> VolatileCell<T>[src]
pub const fn new(value: T) -> Self[src]
pub fn get(&self) -> T[src]
pub fn set(&self, value: T)[src]
Trait Implementations
impl<T: Copy> Copy for VolatileCell<T>[src]
impl<T: Clone> Clone for VolatileCell<T>[src]
fn clone(&self) -> VolatileCell<T>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more