pub struct AlignmentUnits {
pub length_to_metres: f64,
pub angle_to_radians: f64,
}Expand description
Project unit conversion applied exactly once while reading a segment.
Fields§
§length_to_metres: f64Factor converting a length attribute’s stored value to metres.
angle_to_radians: f64Factor converting an angle attribute’s stored value to radians.
Trait Implementations§
Source§impl Clone for AlignmentUnits
impl Clone for AlignmentUnits
impl Copy for AlignmentUnits
Source§impl Debug for AlignmentUnits
impl Debug for AlignmentUnits
Source§impl PartialEq for AlignmentUnits
impl PartialEq for AlignmentUnits
impl StructuralPartialEq for AlignmentUnits
Auto Trait Implementations§
impl Freeze for AlignmentUnits
impl RefUnwindSafe for AlignmentUnits
impl Send for AlignmentUnits
impl Sync for AlignmentUnits
impl Unpin for AlignmentUnits
impl UnsafeUnpin for AlignmentUnits
impl UnwindSafe for AlignmentUnits
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