Struct npyz::npz::NpzWriter [−][src]
Expand description
Interface for writing an NPZ file.
This is only available with the "npz"
feature.
Implementations
pub fn array<T: Serialize + ?Sized>(
&mut self,
name: &str,
options: FileOptions
) -> Result<NpzWriterBuilder<'_, T, W>>
pub fn array<T: Serialize + ?Sized>(
&mut self,
name: &str,
options: FileOptions
) -> Result<NpzWriterBuilder<'_, T, W>>
Begin an entry in the NPZ for the corresponding array.
The returned object implements the WriterBuilder
trait. You must import this trait
and use its methods to continue configuring the object and begin writing.
Exposes the underlying zip::ZipWriter
.
Auto Trait Implementations
impl<W> RefUnwindSafe for NpzWriter<W> where
W: RefUnwindSafe,
impl<W> UnwindSafe for NpzWriter<W> where
W: UnwindSafe,