Struct npy::OutFile [] [src]

pub struct OutFile<Row: NpyRecord> { /* fields omitted */ }

Serialize into a file one row at a time. To serialize an iterator, use the to_file function.

Methods

impl<Row: NpyRecord> OutFile<Row>
[src]

Open a file

Append a single NpyRecord instance to the file

Finish writing the file by finalizing the header and closing the file.

If omitted, the file will be closed on drop automatically, but it will panic on error.

Trait Implementations

impl<Row: NpyRecord> Drop for OutFile<Row>
[src]

A method called when the value goes out of scope. Read more