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

pub trait RegHold<'a, T, R> where
    Self: Sized + 'a,
    T: RegTag,
    R: Reg<T>, 
{ pub fn val(&self) -> R::Val;
pub 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

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

Returns the opaque value.

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

Replaces the opaque value.

Loading content...

Implementors

Loading content...