pub trait Tensor: Sealed {
// Required methods
fn as_flat(&self) -> &[i8];
fn as_flat_mut(&mut self) -> &mut [i8];
}Expand description
Required Methods§
Sourcefn as_flat_mut(&mut self) -> &mut [i8]
fn as_flat_mut(&mut self) -> &mut [i8]
The elements in memory order, mutable.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".