Skip to main content

MutateReturn

Trait MutateReturn 

Source
pub trait MutateReturn: Copy {
    // Required method
    fn op<T, U, M, O>(self, x: &mut T, m: M, o: O) -> U
       where M: FnOnce(&mut T),
             O: FnOnce(&T) -> U;
}

Required Methods§

Source

fn op<T, U, M, O>(self, x: &mut T, m: M, o: O) -> U
where M: FnOnce(&mut T), O: FnOnce(&T) -> U,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§