Struct ephem::base::PertPair [−][src]
Pair: Calculates cos(alpha+beta) and sin(alpha+beta) using addition theorems
Implementations
impl PertPair
[src]
pub fn from_zero() -> PertPair
[src]
pub fn sin(&self) -> f64
[src]
pub fn cos(&self) -> f64
[src]
pub fn sin_cos(&self) -> (f64, f64)
[src]
Trait Implementations
impl Add<PertPair> for PertPair
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self
[src]
impl AddAssign<PertPair> for PertPair
[src]
fn add_assign(&mut self, rhs: Self)
[src]
impl Clone for PertPair
[src]
impl Copy for PertPair
[src]
impl Debug for PertPair
[src]
impl Default for PertPair
[src]
impl From<f64> for PertPair
[src]
impl Mul<i32> for PertPair
[src]
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: i32) -> Self
[src]
impl MulAssign<i32> for PertPair
[src]
fn mul_assign(&mut self, rhs: i32)
[src]
impl Neg for PertPair
[src]
impl PartialEq<PertPair> for PertPair
[src]
impl StructuralPartialEq for PertPair
[src]
Auto Trait Implementations
impl RefUnwindSafe for PertPair
[src]
impl Send for PertPair
[src]
impl Sync for PertPair
[src]
impl Unpin for PertPair
[src]
impl UnwindSafe for PertPair
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,