pub struct TiffWriter<W> {
pub writer: W,
/* private fields */
}Fields§
§writer: WImplementations§
Source§impl<W> TiffWriter<W>
impl<W> TiffWriter<W>
pub fn new(writer: W) -> Result<Self>
pub fn new_directory(&self) -> DirectoryWriter
pub fn write_strips_lzw( &mut self, data: &[u16], cpp: usize, dim: Dim2, strip_lines: usize, ) -> Result<(u32, Vec<(u32, u32)>)>
pub fn write_data(&mut self, data: &[u8]) -> Result<u32>
pub fn write_data_u16_le(&mut self, data: &[u16]) -> Result<u32>
pub fn write_data_f32_le(&mut self, data: &[f32]) -> Result<u32>
pub fn build(self, root_ifd: DirectoryWriter) -> Result<()>
Auto Trait Implementations§
impl<W> Freeze for TiffWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for TiffWriter<W>where
W: RefUnwindSafe,
impl<W> Send for TiffWriter<W>where
W: Send,
impl<W> Sync for TiffWriter<W>where
W: Sync,
impl<W> Unpin for TiffWriter<W>where
W: Unpin,
impl<W> UnsafeUnpin for TiffWriter<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for TiffWriter<W>where
W: UnwindSafe,
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