Trait drone_core::reg::RegRef
[−]
[src]
pub trait RegRef<'a, T: RegTag>: Reg<T> { type Hold: RegHold<'a, T, Self>; fn hold(&'a self, val: Self::Val) -> Self::Hold { ... } fn default(&'a self) -> Self::Hold { ... } fn default_val(&self) -> Self::Val { ... } }
Referenceable register.
Associated Types
Provided Methods
fn hold(&'a self, val: Self::Val) -> Self::Hold
Creates a new Hold
for val
.
fn default(&'a self) -> Self::Hold
Creates a new Hold
with reset value.
fn default_val(&self) -> Self::Val
Returns a default value.