pub struct SafRatio(pub usize, pub usize);Expand description
A ratio rendered as n/m.
Tuple Fields§
§0: usize§1: usizeTrait Implementations§
Source§impl SafLogValue for SafRatio
impl SafLogValue for SafRatio
Source§fn fmt_saf_log(&self, buf: &mut String)
fn fmt_saf_log(&self, buf: &mut String)
Append the DSL-formatted representation to
buf.Source§fn to_saf_log(&self) -> String
fn to_saf_log(&self) -> String
Convenience: format to a new
String.Auto Trait Implementations§
impl Freeze for SafRatio
impl RefUnwindSafe for SafRatio
impl Send for SafRatio
impl Sync for SafRatio
impl Unpin for SafRatio
impl UnsafeUnpin for SafRatio
impl UnwindSafe for SafRatio
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