Struct npy::OutFile [] [src]

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

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

Methods

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

[src]

Open a file

[src]

Append a single row 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: Serializable> Drop for OutFile<Row>
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<Row> Send for OutFile<Row> where
    Row: Send

impl<Row> Sync for OutFile<Row> where
    Row: Sync