Skip to main content

Term

Trait Term 

Source
pub trait Term: Send + Sync {
    // Required methods
    fn name(&self) -> &str;
    fn description(&self) -> &str;
    fn jacobian_equatorial(
        &self,
        h: f64,
        dec: f64,
        lat: f64,
        pier: f64,
    ) -> (f64, f64);
    fn jacobian_altaz(&self, az: f64, el: f64, lat: f64) -> (f64, f64);
    fn applicable_mounts(&self) -> MountTypeFlags;

    // Provided method
    fn pier_sensitive(&self) -> bool { ... }
}

Required Methods§

Source

fn name(&self) -> &str

Source

fn description(&self) -> &str

Source

fn jacobian_equatorial( &self, h: f64, dec: f64, lat: f64, pier: f64, ) -> (f64, f64)

Source

fn jacobian_altaz(&self, az: f64, el: f64, lat: f64) -> (f64, f64)

Source

fn applicable_mounts(&self) -> MountTypeFlags

Provided Methods§

Implementors§

Source§

impl Term for AN

Source§

impl Term for AW

Source§

impl Term for CA

Source§

impl Term for IA

Source§

impl Term for IE

Source§

impl Term for NPAE

Source§

impl Term for CH

Source§

impl Term for DAF

Source§

impl Term for DCEC

Source§

impl Term for DCES

Source§

impl Term for FO

Source§

impl Term for HCEC

Source§

impl Term for HCES

Source§

impl Term for ID

Source§

impl Term for IH

Source§

impl Term for MA

Source§

impl Term for ME

Source§

impl Term for NP

Source§

impl Term for TF

Source§

impl Term for TX

Source§

impl Term for HarmonicTerm