Trait drone_core::reg::RegHold[][src]

pub trait RegHold<'a, T, R> where
    Self: Sized + 'a,
    T: RegTag,
    R: Reg<T>, 
{ fn val(&self) -> R::Val;
fn set_val(&mut self, val: R::Val); }

Exposed storage for register values.

A type implementing this trait should have public getters and setters to manipulate the protected data.

Required methods

fn val(&self) -> R::Val[src]

Returns the opaque value.

fn set_val(&mut self, val: R::Val)[src]

Replaces the opaque value.

Loading content...

Implementors

Loading content...