pub struct GMST(/* private fields */);Implementations§
Source§impl GMST
impl GMST
pub fn from_ut1_and_tt(ut1: &UT1, tt: &TT) -> TimeResult<Self>
pub fn from_hours(hours: f64) -> Self
pub fn from_degrees(degrees: f64) -> Self
pub fn from_radians(radians: f64) -> Self
pub fn j2000() -> TimeResult<Self>
pub fn angle(&self) -> SiderealAngle
pub fn hours(&self) -> f64
pub fn degrees(&self) -> f64
pub fn radians(&self) -> f64
pub fn hour_angle_to_target(&self, target_ra_hours: f64) -> f64
pub fn to_lmst(&self, location: &Location) -> LMST
Trait Implementations§
impl Copy for GMST
impl StructuralPartialEq for GMST
Auto Trait Implementations§
impl Freeze for GMST
impl RefUnwindSafe for GMST
impl Send for GMST
impl Sync for GMST
impl Unpin for GMST
impl UnsafeUnpin for GMST
impl UnwindSafe for GMST
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