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