pub struct Ratio<'s> {
pub numerator: Number<'s>,
pub solidus_span: Span,
pub denominator: Number<'s>,
pub span: Span,
}Fields§
§numerator: Number<'s>§solidus_span: Span§denominator: Number<'s>§span: SpanTrait Implementations§
impl<'s> StructuralPartialEq for Ratio<'s>
Auto Trait Implementations§
impl<'s> Freeze for Ratio<'s>
impl<'s> RefUnwindSafe for Ratio<'s>
impl<'s> Send for Ratio<'s>
impl<'s> Sync for Ratio<'s>
impl<'s> Unpin for Ratio<'s>
impl<'s> UnsafeUnpin for Ratio<'s>
impl<'s> UnwindSafe for Ratio<'s>
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