Struct tiff::encoder::TiffKindBig
source · pub struct TiffKindBig;
Expand description
Create a BigTiff file.
Trait Implementations§
source§impl TiffKind for TiffKindBig
impl TiffKind for TiffKindBig
§type OffsetType = u64
type OffsetType = u64
The type of offset fields,
u32
for normal Tiff, u64
for BigTiff.§type OffsetArrayType = [u64]
type OffsetArrayType = [u64]
Needed for the
convert_slice
method.source§fn write_header<W: Write>(writer: &mut TiffWriter<W>) -> TiffResult<()>
fn write_header<W: Write>(writer: &mut TiffWriter<W>) -> TiffResult<()>
Write the (Big)Tiff header.
source§fn convert_offset(offset: u64) -> TiffResult<Self::OffsetType>
fn convert_offset(offset: u64) -> TiffResult<Self::OffsetType>
Convert a file offset to
Self::OffsetType
. Read moresource§fn write_offset<W: Write>(
writer: &mut TiffWriter<W>,
offset: u64,
) -> TiffResult<()>
fn write_offset<W: Write>( writer: &mut TiffWriter<W>, offset: u64, ) -> TiffResult<()>
Write an offset value to the given writer. Read more
source§fn write_entry_count<W: Write>(
writer: &mut TiffWriter<W>,
count: usize,
) -> TiffResult<()>
fn write_entry_count<W: Write>( writer: &mut TiffWriter<W>, count: usize, ) -> TiffResult<()>
Write the IFD entry count field with the given
count
value. Read moresource§fn convert_slice(slice: &[Self::OffsetType]) -> &Self::OffsetArrayType
fn convert_slice(slice: &[Self::OffsetType]) -> &Self::OffsetArrayType
Internal helper method for satisfying Rust’s type checker. Read more
Auto Trait Implementations§
impl Freeze for TiffKindBig
impl RefUnwindSafe for TiffKindBig
impl Send for TiffKindBig
impl Sync for TiffKindBig
impl Unpin for TiffKindBig
impl UnwindSafe for TiffKindBig
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> 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