pub struct Ifd8(pub u64);Expand description
Type to represent tiff values of type IFD8
Tuple Fields§
§0: u64Trait Implementations§
source§impl TiffValue for Ifd8
impl TiffValue for Ifd8
const BYTE_LEN: u8 = 8u8
const FIELD_TYPE: Type = Type::IFD8
fn count(&self) -> usize
source§fn write<W: Write>(&self, writer: &mut TiffWriter<W>) -> TiffResult<()>
fn write<W: Write>(&self, writer: &mut TiffWriter<W>) -> TiffResult<()>
Write this value to a TiffWriter.
While the default implementation will work in all cases, it may require unnecessary allocations.
The written bytes of any custom implementation MUST be the same as yielded by
self.data().source§fn data(&self) -> Cow<'_, [u8]>
fn data(&self) -> Cow<'_, [u8]>
Access this value as an contiguous sequence of bytes.
If their is no trivial representation, allocate it on the heap.
fn bytes(&self) -> usize
Auto Trait Implementations§
impl RefUnwindSafe for Ifd8
impl Send for Ifd8
impl Sync for Ifd8
impl Unpin for Ifd8
impl UnwindSafe for Ifd8
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