Trait concrete_core::math::tensor::AsMutSlice [−][src]
pub trait AsMutSlice: AsRefSlice<Element = Self::Element> {
type Element;
fn as_mut_slice(&mut self) -> &mut [<Self as AsMutSlice>::Element]ⓘ;
}
Expand description
A trait allowing to extract a mutable slice from a tensor.
The logic is the same as for the AsRefTensor
, but here, it allows to access mutable slices
instead. See the AsRefTensor
documentation for a more detailed
explanation of the logic.