pub struct EarthLocation {
pub lat: Angle,
pub lon: Angle,
pub height: Length,
}Available on crate feature
coordinates only.Expand description
Coordinates that represent a location on Earth.
Fields§
§lat: AngleThe latitude coordinate
lon: AngleThe longitude coordinate
height: LengthThe height of the location
Trait Implementations§
Source§impl Clone for EarthLocation
impl Clone for EarthLocation
Source§fn clone(&self) -> EarthLocation
fn clone(&self) -> EarthLocation
Returns a duplicate 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
impl Copy for EarthLocation
impl StructuralPartialEq for EarthLocation
Auto Trait Implementations§
impl Freeze for EarthLocation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> RealAny for Twhere
T: Any,
impl<T> RealAny for Twhere
T: Any,
Source§fn real_type_id(&self) -> TypeId
fn real_type_id(&self) -> TypeId
Available on crate feature
fits only.Gets the base type ID for
self.