#[non_exhaustive]#[repr(u8)]pub enum ChannelKind {
Longitude = 0,
Latitude = 1,
DistanceAu = 2,
}Expand description
The kind of ecliptic channel carried by a segment.
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.
Longitude = 0
Ecliptic longitude in degrees.
Latitude = 1
Ecliptic latitude in degrees.
DistanceAu = 2
Radius vector or distance in astronomical units.
Implementations§
Trait Implementations§
Source§impl Clone for ChannelKind
impl Clone for ChannelKind
impl Copy for ChannelKind
Source§impl Debug for ChannelKind
impl Debug for ChannelKind
Source§impl<'de> Deserialize<'de> for ChannelKind
impl<'de> Deserialize<'de> for ChannelKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ChannelKind
impl Display for ChannelKind
impl Eq for ChannelKind
Source§impl Hash for ChannelKind
impl Hash for ChannelKind
Source§impl PartialEq for ChannelKind
impl PartialEq for ChannelKind
Source§impl Serialize for ChannelKind
impl Serialize for ChannelKind
impl StructuralPartialEq for ChannelKind
Auto Trait Implementations§
impl Freeze for ChannelKind
impl RefUnwindSafe for ChannelKind
impl Send for ChannelKind
impl Sync for ChannelKind
impl Unpin for ChannelKind
impl UnsafeUnpin for ChannelKind
impl UnwindSafe for ChannelKind
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