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§
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.