Skip to main content

Fix

Trait Fix 

Source
pub trait Fix: Sized {
    // Required methods
    fn ident(&self) -> String;
    fn coordinate(&self) -> Point<f64>;

    // Provided method
    fn mag_var(&self) -> MagneticVariation { ... }
}
Expand description

A fix location with coordinates.

Required Methods§

Source

fn ident(&self) -> String

Source

fn coordinate(&self) -> Point<f64>

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§