pub trait ContravariantMut<'a, A>where
    Self: ContravariantSelf<'a, A>,
    A: 'a,{
    // Required method
    fn contramap_mut<F>(&mut self, f: F)
       where F: 'a + Send + FnMut(&mut Self::Inner);
}
Expand description

Same as ContravariantSelf but works on &mut self

Required Methods§

source

fn contramap_mut<F>(&mut self, f: F)where F: 'a + Send + FnMut(&mut Self::Inner),

Same as Contravariant::contramap_fn_mutref but works on &mut self

Implementations on Foreign Types§

source§

impl<'a, A, R> ContravariantMut<'a, A> for Box<dyn FnOnce(A) -> R + 'a>where A: 'a, R: 'a,

source§

fn contramap_mut<F>(&mut self, f: F)where F: 'a + Send + FnMut(&mut Self::Inner),

source§

impl<'a, A, R> ContravariantMut<'a, A> for Box<dyn Send + FnMut(A) -> R + 'a>where A: 'a, R: 'a,

source§

fn contramap_mut<F>(&mut self, f: F)where F: 'a + Send + FnMut(&mut Self::Inner),

source§

impl<'a, A, R> ContravariantMut<'a, A> for Box<dyn FnMut(A) -> R + 'a>where A: 'a, R: 'a,

source§

fn contramap_mut<F>(&mut self, f: F)where F: 'a + Send + FnMut(&mut Self::Inner),

source§

impl<'a, A, R> ContravariantMut<'a, A> for Box<dyn Send + FnOnce(A) -> R + 'a>where A: 'a, R: 'a,

source§

fn contramap_mut<F>(&mut self, f: F)where F: 'a + Send + FnMut(&mut Self::Inner),

Implementors§