[−][src]Trait ndarray_npy::WritableElement
An array element type that can be written to an .npy
or .npz
file.
Associated Types
Loading content...Required methods
fn type_descriptor() -> PyValue
Returns a descriptor of the type that can be used in the header.
fn write<W: Write>(&self, writer: W) -> Result<(), Self::Error>
Writes a single instance of Self
to the writer.
fn write_slice<W: Write>(slice: &[Self], writer: W) -> Result<(), Self::Error>
Writes a slice of Self
to the writer.