#[non_exhaustive]pub enum PositionType {
EarthCenteredEarthFixed(ECEFPosition),
WGS84(WGS84Position),
EastNorthUp(ENUPosition),
NorthEastDown(NEDPosition),
}
Expand description
Different variants of the same position.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EarthCenteredEarthFixed(ECEFPosition)
WGS84(WGS84Position)
EastNorthUp(ENUPosition)
NorthEastDown(NEDPosition)
Trait Implementations§
Source§impl Clone for PositionType
impl Clone for PositionType
Source§fn clone(&self) -> PositionType
fn clone(&self) -> PositionType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PositionType
impl Debug for PositionType
Source§impl PartialEq for PositionType
impl PartialEq for PositionType
impl Copy for PositionType
impl StructuralPartialEq for PositionType
Auto Trait Implementations§
impl Freeze for PositionType
impl RefUnwindSafe for PositionType
impl Send for PositionType
impl Sync for PositionType
impl Unpin for PositionType
impl UnwindSafe for PositionType
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