pub trait TiffValue {
const BYTE_LEN: u32;
const FIELD_TYPE: Type;
// Required methods
fn count(&self) -> u32;
fn write<W: Write>(&self, writer: &mut TiffWriter<W>) -> TiffResult<()>;
// Provided method
fn bytes(&self) -> u32 { ... }
}
Expand description
Trait for types that can be encoded in a tiff file
Required Associated Constants§
Required Methods§
fn count(&self) -> u32
fn write<W: Write>(&self, writer: &mut TiffWriter<W>) -> TiffResult<()>
Provided Methods§
Object Safety§
This trait is not object safe.