pub struct TIFF { /* private fields */ }Expand description
A TIFF file.
Implementations§
Source§impl TIFF
impl TIFF
Sourcepub fn new(ifds: Vec<ImageFileDirectory>, endianness: Endianness) -> Self
pub fn new(ifds: Vec<ImageFileDirectory>, endianness: Endianness) -> Self
Create a new TIFF from existing IFDs.
Sourcepub fn ifds(&self) -> &[ImageFileDirectory]
pub fn ifds(&self) -> &[ImageFileDirectory]
Access the underlying Image File Directories.
Sourcepub fn endianness(&self) -> Endianness
pub fn endianness(&self) -> Endianness
Get the endianness of the TIFF file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TIFF
impl RefUnwindSafe for TIFF
impl Send for TIFF
impl Sync for TIFF
impl Unpin for TIFF
impl UnwindSafe for TIFF
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