Struct volatile_cell::VolatileCell [] [src]

#[repr(C)]
pub struct VolatileCell<T> { /* fields omitted */ }

This structure is used to represent a hardware register. It is mostly used by the ioreg family of macros.

Methods

impl<T> VolatileCell<T>
[src]

Create a cell with initial value.

Get register value.

Set register value.

Trait Implementations

impl<T: Copy> Copy for VolatileCell<T>
[src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more