Struct geezy::Coords
[−]
[src]
pub struct Coords { // some fields omitted }
Methods
impl Coords
[src]
fn new(latitude: f64, longtitude: f64) -> Result<Coords, String>
Returns a Result
fn is_valid(latitude: f64, longtitude: f64) -> bool
Trait Implementations
impl PartialEq for Coords
[src]
fn eq(&self, __arg_0: &Coords) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Coords) -> bool
This method tests for !=
.