pub struct URational {
pub numerator: u32,
pub denominator: u32,
}Expand description
Unsigned rational (numerator, denominator).
The format-agnostic rational used throughout the metadata model. TIFF-based
decoders carry their own wire-level tiff::Rational and convert into this
type at the metadata boundary via From<tiff::Rational>.
Fields§
§numerator: u32Numerator
denominator: u32Denominator
Implementations§
Trait Implementations§
impl Copy for URational
impl Eq for URational
impl StructuralPartialEq for URational
Auto Trait Implementations§
impl Freeze for URational
impl RefUnwindSafe for URational
impl Send for URational
impl Sync for URational
impl Unpin for URational
impl UnsafeUnpin for URational
impl UnwindSafe for URational
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