pub struct Units {
pub length: Option<Unit>,
pub angle: Option<Unit>,
pub precision: Option<f64>,
}Expand description
The model’s unit context. Fields are None when the model carries no such
unit (or no unit context at all).
Fields§
§length: Option<Unit>§angle: Option<Unit>§precision: Option<f64>Modelling precision (uncertainty), in the length unit.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Units
impl RefUnwindSafe for Units
impl Send for Units
impl Sync for Units
impl Unpin for Units
impl UnsafeUnpin for Units
impl UnwindSafe for Units
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