Struct speedtest_rs::distance::EarthLocation
source · pub struct EarthLocation {
pub latitude: f32,
pub longitude: f32,
}
Fields§
§latitude: f32
§longitude: f32
Trait Implementations§
source§impl Clone for EarthLocation
impl Clone for EarthLocation
source§fn clone(&self) -> EarthLocation
fn clone(&self) -> EarthLocation
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 EarthLocation
impl Debug for EarthLocation
source§impl Default for EarthLocation
impl Default for EarthLocation
source§fn default() -> EarthLocation
fn default() -> EarthLocation
Returns the “default value” for a type. Read more
source§impl PartialEq for EarthLocation
impl PartialEq for EarthLocation
source§fn eq(&self, other: &EarthLocation) -> bool
fn eq(&self, other: &EarthLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EarthLocation
Auto Trait Implementations§
impl RefUnwindSafe for EarthLocation
impl Send for EarthLocation
impl Sync for EarthLocation
impl Unpin for EarthLocation
impl UnwindSafe for EarthLocation
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