Trait NdActivateMut

Source
pub trait NdActivateMut<A, D>
where A: ScalarOperand, D: Dimension,
{ type Data: DataMut<Elem = A>; // Required method fn activate_inplace<'a, F>(&'a mut self, f: F) where A: 'a, F: FnMut(A) -> A; }

Required Associated Types§

Source

type Data: DataMut<Elem = A>

Required Methods§

Source

fn activate_inplace<'a, F>(&'a mut self, f: F)
where A: 'a, F: FnMut(A) -> A,

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<'a, A, S, D> NdActivateMut<A, D> for &'a mut ArrayBase<S, D>
where A: ScalarOperand, D: Dimension, S: DataMut<Elem = A>,

Source§

type Data = S

Source§

fn activate_inplace<'b, F>(&'b mut self, f: F)
where A: 'b, F: FnMut(A) -> A,

Source§

impl<A, S, D> NdActivateMut<A, D> for ArrayBase<S, D>
where A: ScalarOperand, D: Dimension, S: DataMut<Elem = A>,

Source§

type Data = S

Source§

fn activate_inplace<'a, F>(&'a mut self, f: F)
where A: 'a, F: FnMut(A) -> A,

Implementors§