pub struct UnitSystemBase {
pub system: UNIT_SYSTEM,
pub format: Option<String>,
pub precision: i32,
pub suppress_leading_zeros: bool,
pub suppress_trailing_zeros: bool,
}Fields§
§system: UNIT_SYSTEM§format: Option<String>§precision: i32§suppress_leading_zeros: bool§suppress_trailing_zeros: boolTrait Implementations§
Source§impl Clone for UnitSystemBase
impl Clone for UnitSystemBase
Source§fn clone(&self) -> UnitSystemBase
fn clone(&self) -> UnitSystemBase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnitSystemBase
impl Debug for UnitSystemBase
Source§impl PartialEq for UnitSystemBase
impl PartialEq for UnitSystemBase
impl StructuralPartialEq for UnitSystemBase
Auto Trait Implementations§
impl Freeze for UnitSystemBase
impl RefUnwindSafe for UnitSystemBase
impl Send for UnitSystemBase
impl Sync for UnitSystemBase
impl Unpin for UnitSystemBase
impl UnwindSafe for UnitSystemBase
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