Struct npyz::write_options::WriteOptions[][src]

pub struct WriteOptions<T: ?Sized> { /* fields omitted */ }
Expand description

Represents an almost-empty configuration for an NpyWriter.

Construction of an NpyWriter always begins here, with a call to WriteOptions::new. Then the methods of the WriterBuilder trait must be used to supply options. See that trait for more details.

Implementations

Construct an almost empty Writer configuration.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Set the data order for arrays with more than one dimension. Read more

Calls Self::dtype with the default dtype for the type to be serialized. Read more

Use the specified dtype. Read more

Set the shape for an n-d array. Read more

Set the ouput Write object. Read more

Begin writing an array of the previously supplied shape.

Begin writing a 1d array, of length to be inferred from the number of elements written. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.