pub struct TiffWriter { /* private fields */ }Expand description
TIFF file writer using the tiff crate for proper encoding/decoding.
Implementations§
Source§impl TiffWriter
impl TiffWriter
Trait Implementations§
Source§impl NDFileWriter for TiffWriter
impl NDFileWriter for TiffWriter
fn open_file( &mut self, path: &Path, _mode: NDFileMode, _array: &NDArray, ) -> ADResult<()>
fn write_file(&mut self, array: &NDArray) -> ADResult<()>
fn read_file(&mut self) -> ADResult<NDArray>
fn close_file(&mut self) -> ADResult<()>
fn supports_multiple_arrays(&self) -> bool
Source§fn set_num_capture(&mut self, _n: usize)
fn set_num_capture(&mut self, _n: usize)
Inform the writer of the configured capture count (
NDFileNumCapture)
before the next open_file. A writer whose on-disk layout depends on
the capture target (e.g. HDF5 chunk sizing, C calculateAttributeChunking)
uses it; the default ignores it.Auto Trait Implementations§
impl Freeze for TiffWriter
impl RefUnwindSafe for TiffWriter
impl Send for TiffWriter
impl Sync for TiffWriter
impl Unpin for TiffWriter
impl UnsafeUnpin for TiffWriter
impl UnwindSafe for TiffWriter
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more