Struct Rational
pub struct Rational { pub n: u32, pub d: u32 }
Type to represent tiff values of type RATIONAL
Fields
n: u32d: u32
Trait Implementations
impl Clone for Rational
fn clone(&self) -> Self
impl TiffValue for Rational
const BYTE_LEN: u8 = 8;const FIELD_TYPE: Type = Type::RATIONAL;fn count(&self) -> usizefn write<W: Write>(&self, writer: &mut TiffWriter<W>) -> TiffResult<()>fn data(&self) -> Cow<'_, [u8]>