pub struct DirectionParts {
pub right_ascension_degrees: f64,
pub declination_degrees: f64,
}Expand description
Stable primitive representation of an ICRS spherical direction.
Fields§
§right_ascension_degrees: f64Right ascension in degrees in the ICRS frame.
declination_degrees: f64Declination in degrees in the ICRS frame.
Implementations§
Source§impl DirectionParts
impl DirectionParts
Sourcepub fn into_direction(self) -> ICRS
pub fn into_direction(self) -> ICRS
Convert these ICRS parts into Siderust’s current direction type.
Trait Implementations§
Source§impl Clone for DirectionParts
impl Clone for DirectionParts
impl Copy for DirectionParts
Source§impl Debug for DirectionParts
impl Debug for DirectionParts
Source§impl PartialEq for DirectionParts
impl PartialEq for DirectionParts
impl StructuralPartialEq for DirectionParts
Auto Trait Implementations§
impl Freeze for DirectionParts
impl RefUnwindSafe for DirectionParts
impl Send for DirectionParts
impl Sync for DirectionParts
impl Unpin for DirectionParts
impl UnsafeUnpin for DirectionParts
impl UnwindSafe for DirectionParts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Ungil for Twhere
T: Send,
Source§impl<T> UsingEngine for T
impl<T> UsingEngine for T
Source§fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
fn using<'a, Ctx>(&'a self, engine: &'a Ctx) -> WithEngine<'a, Self, Ctx>where
Ctx: TransformContext,
Wrap this coordinate with a custom transform context for the next
transformation call.