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]

[src]

Open a file

[src]

Append a single NpyRecord instance to the file

[src]

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]

[src]

Executes the destructor for this type. Read more