pub struct Icrs {
pub coords: EquatorialCoord,
}Available on crate feature
coordinates only.Expand description
Coordinates in the International Celestial Reference System.
Fields§
§coords: EquatorialCoordThe coordinate value
Implementations§
Source§impl Icrs
impl Icrs
Sourcepub fn round(&self, dp: u32) -> Self
pub fn round(&self, dp: u32) -> Self
Creates a new Icrs with the coordinate values rounded to the specified decimal place.
Sourcepub fn to_alt_az(
&self,
_date_time: &Epoch,
_location: &EarthLocation,
) -> Result<AltAz, AstroConversionError>
pub fn to_alt_az( &self, _date_time: &Epoch, _location: &EarthLocation, ) -> Result<AltAz, AstroConversionError>
Converts coordinates from ICRS to observed AltAz coordinates.
Trait Implementations§
impl Copy for Icrs
impl StructuralPartialEq for Icrs
Auto Trait Implementations§
impl Freeze for Icrs
impl RefUnwindSafe for Icrs
impl Send for Icrs
impl Sync for Icrs
impl Unpin for Icrs
impl UnwindSafe for Icrs
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> RealAny for Twhere
T: Any,
impl<T> RealAny for Twhere
T: Any,
Source§fn real_type_id(&self) -> TypeId
fn real_type_id(&self) -> TypeId
Available on crate feature
fits only.Gets the base type ID for
self.