Trait concrete_core::math::tensor::AsMutElement[][src]

pub trait AsMutElement: AsRefElement<Element = Self::Element> {
    type Element;
    fn as_mut_element(&mut self) -> &mut <Self as AsMutElement>::Element;
}
Expand description

A trait allowing to treat a value as a mutable reference to an element of a different type.

Associated Types

The element type.

Required methods

Returns a mutable reference to the element enclosed in the type.

Implementors