pub struct RoundingRecord {
pub to: &'static str,
pub mode: &'static str,
pub residual_ticks: &'static str,
pub residual_rendered: &'static str,
pub rationale: &'static str,
}Expand description
The rounding applied when converting an empirical input into a declared constant (Rule Q.4).
Fields§
§to: &'static strWhat the value was rounded to, e.g. "BEAT".
mode: &'static strThe mode, e.g. "half_even".
residual_ticks: &'static strSigned residual in ticks, as a decimal string.
residual_rendered: &'static strThe residual rendered in a foreign unit, for human orientation only.
rationale: &'static strWhy this rounding target was chosen.
Trait Implementations§
Source§impl Clone for RoundingRecord
impl Clone for RoundingRecord
Source§fn clone(&self) -> RoundingRecord
fn clone(&self) -> RoundingRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RoundingRecord
Source§impl Debug for RoundingRecord
impl Debug for RoundingRecord
impl Eq for RoundingRecord
Source§impl PartialEq for RoundingRecord
impl PartialEq for RoundingRecord
impl StructuralPartialEq for RoundingRecord
Auto Trait Implementations§
impl Freeze for RoundingRecord
impl RefUnwindSafe for RoundingRecord
impl Send for RoundingRecord
impl Sync for RoundingRecord
impl Unpin for RoundingRecord
impl UnsafeUnpin for RoundingRecord
impl UnwindSafe for RoundingRecord
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