pub struct Ratio {
pub numerator: CSSInt,
pub slash: Option<Slash>,
pub denominator: Option<CSSInt>,
}Fields§
§numerator: CSSInt§slash: Option<Slash>§denominator: Option<CSSInt>Trait Implementations§
Source§impl Ord for Ratio
impl Ord for Ratio
Source§impl PartialOrd for Ratio
impl PartialOrd for Ratio
Source§impl ToCursors for Ratio
impl ToCursors for Ratio
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for Ratio
impl Eq for Ratio
impl StructuralPartialEq for Ratio
Auto Trait Implementations§
impl Freeze for Ratio
impl RefUnwindSafe for Ratio
impl Send for Ratio
impl Sync for Ratio
impl Unpin for Ratio
impl UnwindSafe for Ratio
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