pub struct BigTiffFile { /* private fields */ }Expand description
Representation of a BigTIFF file (64-bit offsets).
This is the central structure for BigTIFF files. It holds all the other structures
of the BigTIFF file and is responsible for writing them to a fs::File.
Implementations§
Source§impl BigTiffFile
impl BigTiffFile
Sourcepub fn new(ifds: IfdChain<u64>) -> BigTiffFile
pub fn new(ifds: IfdChain<u64>) -> BigTiffFile
Creates a new BigTiffFile from an IfdChain.
By default, a BigTiffFile is little-endian and has 43 as the magic number.
If you want to change the endianness, consider chaining this function with
with_endianness.
Sourcepub fn with_endianness(self, endian: Endianness) -> Self
pub fn with_endianness(self, endian: Endianness) -> Self
Returns the same BigTiffFile, but with the specified Endianness.
Auto Trait Implementations§
impl Freeze for BigTiffFile
impl !RefUnwindSafe for BigTiffFile
impl !Send for BigTiffFile
impl !Sync for BigTiffFile
impl Unpin for BigTiffFile
impl !UnwindSafe for BigTiffFile
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