Struct navigation::Location [] [src]

pub struct Location {
    pub lat: f64,
    pub lon: f64,
}

Fields

lat: f64 lon: f64

Methods

impl Location
[src]

fn new(_lat: f64, _lon: f64) -> Location

fn calc_bearing_to(&self, dest: &Location) -> f64

Trait Implementations

impl ToString for Location
[src]

fn to_string(&self) -> String

Converts the given value to a String. Read more