Struct pos::point::Accuracy [] [src]

pub struct Accuracy {
    pub time: f64,
    pub x: f64,
    pub y: f64,
    pub z: f64,
    pub roll: Radians<f64>,
    pub pitch: Radians<f64>,
    pub yaw: Radians<f64>,
    pub pdop: f64,
    pub satellite_count: Option<SatelliteCount>,
}

The accuracy of a position.

Fields

Methods

impl Accuracy
[src]

Linearly interpolate a new accuracy between these two.

Examples

use pos::point::Accuracy;
let mut accuracy1: Accuracy = Default::default();
accuracy1.time = 10.0;
let mut accuracy2: Accuracy = Default::default();
accuracy2.time = 20.0;
let accuracy3 = accuracy1.interpolate(&accuracy2, 15.0);

Trait Implementations

impl Clone for Accuracy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Accuracy
[src]

impl Debug for Accuracy
[src]

Formats the value using the given formatter.

impl Default for Accuracy
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Accuracy
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.