WpmrModify

Trait WpmrModify 

Source
pub trait WpmrModify:
    WpmrRead
    + WpmrWrite
    + WpmrWriteWithZero {
    // Required method
    fn modify<F>(&self, f: F)
       where for<'w> F: FnOnce(&<Self as WpmrRead>::R, &'w mut <Self as WpmrWrite>::W) -> &'w mut <Self as WpmrWrite>::W;
}

Required Methods§

Source

fn modify<F>(&self, f: F)
where for<'w> F: FnOnce(&<Self as WpmrRead>::R, &'w mut <Self as WpmrWrite>::W) -> &'w mut <Self as WpmrWrite>::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 WpmrModify for Wpmr

Source§

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

Source§

impl WpmrModify for Wpmr

Source§

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

Source§

impl WpmrModify for Wpmr

Source§

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

Source§

impl WpmrModify for Wpmr

Source§

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

Source§

impl WpmrModify for Wpmr

Source§

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

Implementors§