pub struct UnitScale {
pub length_to_metres: f64,
pub angle_to_radians: f64,
}Expand description
Multipliers converting file units into SI base units.
Fields§
§length_to_metres: f64Multiply a stored length by this to get metres.
angle_to_radians: f64Multiply a stored plane angle by this to get radians.
Implementations§
Trait Implementations§
impl Copy for UnitScale
impl StructuralPartialEq for UnitScale
Auto Trait Implementations§
impl Freeze for UnitScale
impl RefUnwindSafe for UnitScale
impl Send for UnitScale
impl Sync for UnitScale
impl Unpin for UnitScale
impl UnsafeUnpin for UnitScale
impl UnwindSafe for UnitScale
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