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]
Notable traits for &'_ [u8]
impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
; }
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.

Associated Types

The type of the elements of the collection

Required methods

Returns a mutable slice from the container.

Implementations on Foreign Types

Implementors