[][src]Trait mag::temp::Unit

pub trait Unit {
    const ABBREVIATION: &'static str;

    fn k_factor() -> f64;
fn k_offset() -> f64; }

Unit definition for temperature

Associated Constants

const ABBREVIATION: &'static str

Unit abbreviation

Loading content...

Required methods

fn k_factor() -> f64

Multiplication factor to convert to Kelvin

fn k_offset() -> f64

Offset to convert to Kelvin

Loading content...

Implementors

impl Unit for DegC[src]

impl Unit for DegF[src]

impl Unit for DegK[src]

impl Unit for DegR[src]

Loading content...