#[non_exhaustive]pub enum StateComponent {
North,
East,
Heading,
SpeedThroughWater,
CurrentNorth,
CurrentEast,
}Expand description
State vector component, by name.
Observations reference components by name, never by index, so the vector
layout stays internal. #[non_exhaustive]; match with a wildcard arm.
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.
North
Northing from the anchor, m.
East
Easting from the anchor, m.
Heading
True heading, rad.
SpeedThroughWater
Speed through the water along the heading, m/s.
CurrentNorth
Current, north component, m/s.
CurrentEast
Current, east component, m/s.
Implementations§
Trait Implementations§
Source§impl Clone for StateComponent
impl Clone for StateComponent
impl Copy for StateComponent
Source§impl Debug for StateComponent
impl Debug for StateComponent
impl Eq for StateComponent
Source§impl Hash for StateComponent
impl Hash for StateComponent
Source§impl PartialEq for StateComponent
impl PartialEq for StateComponent
impl StructuralPartialEq for StateComponent
Auto Trait Implementations§
impl Freeze for StateComponent
impl RefUnwindSafe for StateComponent
impl Send for StateComponent
impl Sync for StateComponent
impl Unpin for StateComponent
impl UnsafeUnpin for StateComponent
impl UnwindSafe for StateComponent
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