Trait drone_core::reg::RwRegUnique [] [src]

pub trait RwRegUnique<'a>: RReg<Utt> + WRegUnique<'a> + RegRef<'a, Utt> {
    fn modify<F>(&'a mut self, f: F)
    where
        F: for<'b> FnOnce(&'b mut Self::Hold) -> &'b mut Self::Hold
; }

Register that can read and write its value in a single-threaded context.

Required Methods

Atomically updates the register's value.

Implementors