Skip to main content

IersSystem

Trait IersSystem 

Source
pub trait IersSystem: Sealed {
    // Required methods
    fn id(&self) -> usize;
    fn name(&self) -> String;

    // Provided method
    fn abbreviation(&self) -> String { ... }
}
Expand description

Sealed trait for IERS convention systems.

Required Methods§

Source

fn id(&self) -> usize

Returns the numeric identifier for this convention.

Source

fn name(&self) -> String

Returns the convention name (e.g. “IERS1996”).

Provided Methods§

Source

fn abbreviation(&self) -> String

Returns a round-trippable tag, encoding the nutation model where it differs from the default (e.g. “IERS2003B”).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§