pub struct UnitsInput {
pub length: LengthUnit,
pub uncertainty: f64,
}Expand description
Unit setup for StepBuilder::new_with; the default is what plain
new uses (millimetre, 1e-7 uncertainty).
Fields§
§length: LengthUnit§uncertainty: f64Length uncertainty (modelling precision), in the file’s own length unit — expected finite and positive (degenerate values are the caller’s responsibility).
Trait Implementations§
Source§impl Clone for UnitsInput
impl Clone for UnitsInput
Source§fn clone(&self) -> UnitsInput
fn clone(&self) -> UnitsInput
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 UnitsInput
Source§impl Debug for UnitsInput
impl Debug for UnitsInput
Auto Trait Implementations§
impl Freeze for UnitsInput
impl RefUnwindSafe for UnitsInput
impl Send for UnitsInput
impl Sync for UnitsInput
impl Unpin for UnitsInput
impl UnsafeUnpin for UnitsInput
impl UnwindSafe for UnitsInput
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