BModify

Trait BModify 

Source
pub trait BModify: BReader + BWriterWithZero {
    // Required method
    fn modify<F>(&self, f: F)
       where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W;
}
Expand description

Reg::modify as a trait.

Required Methods§

Source

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl BModify for Absr

Source§

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W,

Source§

impl BModify for Odsr

Source§

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W,

Source§

impl BModify for Absr

Source§

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W,

Source§

impl BModify for Odsr

Source§

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W,

Source§

impl BModify for Absr

Source§

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W,

Source§

impl BModify for Odsr

Source§

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W,

Source§

impl BModify for Absr

Source§

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W,

Source§

impl BModify for Odsr

Source§

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as BReader>::R, &'w mut <Self as BWriterWithZero>::W) -> &'w mut <Self as BWriterWithZero>::W,

Implementors§