Struct tiff::encoder::TiffKindStandard
source · [−]pub struct TiffKindStandard;
Expand description
Create a standard Tiff file.
Trait Implementations
sourceimpl TiffKind for TiffKindStandard
impl TiffKind for TiffKindStandard
type OffsetType = u32
type OffsetType = u32
The type of offset fields,
u32
for normal Tiff, u64
for BigTiff.type OffsetArrayType = [u32]
type OffsetArrayType = [u32]
Needed for the
convert_slice
method.sourcefn write_header<W: Write>(writer: &mut TiffWriter<W>) -> TiffResult<()>
fn write_header<W: Write>(writer: &mut TiffWriter<W>) -> TiffResult<()>
Write the (Big)Tiff header.
sourcefn convert_offset(offset: u64) -> TiffResult<Self::OffsetType>
fn convert_offset(offset: u64) -> TiffResult<Self::OffsetType>
Convert a file offset to
Self::OffsetType
. Read moresourcefn 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
sourcefn 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 moresourcefn 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 RefUnwindSafe for TiffKindStandard
impl Send for TiffKindStandard
impl Sync for TiffKindStandard
impl Unpin for TiffKindStandard
impl UnwindSafe for TiffKindStandard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more