Struct npyz::write_options::WriteOptions
source · pub struct WriteOptions<T: ?Sized> { /* private fields */ }
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§
Trait Implementations§
source§impl<T: ?Sized> Clone for WriteOptions<T>
impl<T: ?Sized> Clone for WriteOptions<T>
source§impl<T: ?Sized> Default for WriteOptions<T>
impl<T: ?Sized> Default for WriteOptions<T>
source§impl<T: Serialize + ?Sized> WriterBuilder<T> for WriteOptions<T>
impl<T: Serialize + ?Sized> WriterBuilder<T> for WriteOptions<T>
source§fn order(self, order: Order) -> Self
fn order(self, order: Order) -> Self
Set the data order for arrays with more than one dimension. Read more
source§fn writer<W>(self, writer: W) -> WithWriter<W, Self>where
Self: MissingWriter,
fn writer<W>(self, writer: W) -> WithWriter<W, Self>where
Self: MissingWriter,
impl<T: ?Sized> MissingWriter for WriteOptions<T>
Auto Trait Implementations§
impl<T: ?Sized> RefUnwindSafe for WriteOptions<T>
impl<T: ?Sized> Send for WriteOptions<T>
impl<T: ?Sized> Sync for WriteOptions<T>
impl<T: ?Sized> Unpin for WriteOptions<T>
impl<T: ?Sized> UnwindSafe for WriteOptions<T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more