pub struct Altitude { /* private fields */ }
Expand description
A distance above a particular reference point
Implementations§
Source§impl Altitude
impl Altitude
pub const fn new( value: Length, reference_frame: AltitudeReferenceFrame, ) -> Altitude
pub const fn new_unknown(value: Length) -> Altitude
pub fn value(&self) -> Length
pub fn reference_frame(&self) -> AltitudeReferenceFrame
Trait Implementations§
impl Copy for Altitude
impl StructuralPartialEq for Altitude
Auto Trait Implementations§
impl Freeze for Altitude
impl RefUnwindSafe for Altitude
impl Send for Altitude
impl Sync for Altitude
impl Unpin for Altitude
impl UnwindSafe for Altitude
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