pub struct GeoLocation { /* private fields */ }
Expand description
Represents a point in two dimensional space
Implementations§
Source§impl GeoLocation
impl GeoLocation
Sourcepub fn new(latitude: f32, longitude: f32) -> Self
pub fn new(latitude: f32, longitude: f32) -> Self
Creates an instance of GeoLocation
Trait Implementations§
Source§impl Clone for GeoLocation
impl Clone for GeoLocation
Source§fn clone(&self) -> GeoLocation
fn clone(&self) -> GeoLocation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GeoLocation
impl Debug for GeoLocation
Source§impl IntoIterator for GeoLocation
impl IntoIterator for GeoLocation
Source§impl PartialEq for GeoLocation
impl PartialEq for GeoLocation
Source§impl Serialize for GeoLocation
impl Serialize for GeoLocation
impl Copy for GeoLocation
impl StructuralPartialEq for GeoLocation
Auto Trait Implementations§
impl Freeze for GeoLocation
impl RefUnwindSafe for GeoLocation
impl Send for GeoLocation
impl Sync for GeoLocation
impl Unpin for GeoLocation
impl UnwindSafe for GeoLocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more