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

Type that wraps a raw register value and a register reference.

Provided Methods

Creates a new Hold for val.

Creates a new Hold with reset value.

Returns a default value.

Implementors