Enum ephem::base::angle::Angle[][src]

pub enum Angle {
    Radians(f64),
    Revolutions(AngleRevolutions),
    ArcDegrees(AngleArcDegrees),
    ArcDegreesMinutes(AngleArcDegreesMinutes),
    ArcDegreesMinutesSeconds(AngleArcDegreesMinutesSeconds),
    ArcMinutes(AngleArcMinutes),
    ArcMinutesSeconds(AngleArcMinutesSeconds),
    ArcSeconds(AngleArcSeconds),
    TimeHours(AngleTimeHours),
    TimeHoursMinutes(AngleTimeHoursMinutes),
    TimeHoursMinutesSeconds(AngleTimeHoursMinutesSeconds),
    TimeMinutes(AngleTimeMinutes),
    TimeMinutesSeconds(AngleTimeMinutesSeconds),
    TimeSeconds(AngleTimeSeconds),
}

Variants

Radians(f64)
Revolutions(AngleRevolutions)
ArcDegrees(AngleArcDegrees)
ArcDegreesMinutes(AngleArcDegreesMinutes)
ArcDegreesMinutesSeconds(AngleArcDegreesMinutesSeconds)
ArcMinutes(AngleArcMinutes)
ArcMinutesSeconds(AngleArcMinutesSeconds)
ArcSeconds(AngleArcSeconds)
TimeHours(AngleTimeHours)
TimeHoursMinutes(AngleTimeHoursMinutes)
TimeHoursMinutesSeconds(AngleTimeHoursMinutesSeconds)
TimeMinutes(AngleTimeMinutes)
TimeMinutesSeconds(AngleTimeMinutesSeconds)
TimeSeconds(AngleTimeSeconds)

Implementations

impl Angle[src]

pub fn from_r(revolutions: f64) -> Angle[src]

pub fn from_ad(degrees: f64) -> Angle[src]

pub fn from_adm(degrees: i32, minutes: f64) -> Angle[src]

pub fn from_adms(degrees: i32, minutes: i32, seconds: f64) -> Angle[src]

pub fn from_am(minutes: f64) -> Angle[src]

pub fn from_ams(minutes: i32, seconds: f64) -> Angle[src]

pub fn from_as(seconds: f64) -> Angle[src]

pub fn from_th(hours: f64) -> Angle[src]

pub fn from_thm(hours: i32, minutes: f64) -> Angle[src]

pub fn from_thms(hours: i32, minutes: i32, seconds: f64) -> Angle[src]

pub fn from_tm(minutes: f64) -> Angle[src]

pub fn from_tms(minutes: i32, seconds: f64) -> Angle[src]

pub fn from_ts(seconds: f64) -> Angle[src]

pub fn is_rad(&self) -> bool[src]

pub fn is_r(&self) -> bool[src]

pub fn is_ad(&self) -> bool[src]

pub fn is_adm(&self) -> bool[src]

pub fn is_adms(&self) -> bool[src]

pub fn is_am(&self) -> bool[src]

pub fn is_ams(&self) -> bool[src]

pub fn is_as(&self) -> bool[src]

pub fn is_th(&self) -> bool[src]

pub fn is_thm(&self) -> bool[src]

pub fn is_thms(&self) -> bool[src]

pub fn is_tm(&self) -> bool[src]

pub fn is_tms(&self) -> bool[src]

pub fn is_ts(&self) -> bool[src]

pub fn to_rad(self) -> Angle[src]

pub fn to_r(self) -> Angle[src]

pub fn to_ad(self) -> Angle[src]

pub fn to_adm(self) -> Angle[src]

pub fn to_adms(self) -> Angle[src]

pub fn to_am(self) -> Angle[src]

pub fn to_ams(self) -> Angle[src]

pub fn to_as(self) -> Angle[src]

pub fn to_th(self) -> Angle[src]

pub fn to_thm(self) -> Angle[src]

pub fn to_thms(self) -> Angle[src]

pub fn to_tm(self) -> Angle[src]

pub fn to_tms(self) -> Angle[src]

pub fn to_ts(self) -> Angle[src]

Trait Implementations

impl Clone for Angle[src]

impl Copy for Angle[src]

impl Debug for Angle[src]

impl Default for Angle[src]

impl From<f64> for Angle[src]

impl Into<AngleArcDegrees> for Angle[src]

impl Into<AngleArcDegreesMinutes> for Angle[src]

impl Into<AngleArcDegreesMinutesSeconds> for Angle[src]

impl Into<AngleArcMinutes> for Angle[src]

impl Into<AngleArcMinutesSeconds> for Angle[src]

impl Into<AngleArcSeconds> for Angle[src]

impl Into<AngleRevolutions> for Angle[src]

impl Into<AngleTimeHours> for Angle[src]

impl Into<AngleTimeHoursMinutes> for Angle[src]

impl Into<AngleTimeHoursMinutesSeconds> for Angle[src]

impl Into<AngleTimeMinutes> for Angle[src]

impl Into<AngleTimeMinutesSeconds> for Angle[src]

impl Into<AngleTimeSeconds> for Angle[src]

impl Into<Option<AngleArcDegrees>> for Angle[src]

impl Into<Option<AngleArcDegreesMinutes>> for Angle[src]

impl Into<Option<AngleArcDegreesMinutesSeconds>> for Angle[src]

impl Into<Option<AngleArcMinutes>> for Angle[src]

impl Into<Option<AngleArcMinutesSeconds>> for Angle[src]

impl Into<Option<AngleArcSeconds>> for Angle[src]

impl Into<Option<AngleRevolutions>> for Angle[src]

impl Into<Option<AngleTimeHours>> for Angle[src]

impl Into<Option<AngleTimeHoursMinutes>> for Angle[src]

impl Into<Option<AngleTimeHoursMinutesSeconds>> for Angle[src]

impl Into<Option<AngleTimeMinutes>> for Angle[src]

impl Into<Option<AngleTimeMinutesSeconds>> for Angle[src]

impl Into<Option<AngleTimeSeconds>> for Angle[src]

impl Into<f64> for Angle[src]

impl PartialEq<Angle> for Angle[src]

impl PartialOrd<Angle> for Angle[src]

impl StructuralPartialEq for Angle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.