pub struct Bd09Coord {
pub lat: f64,
pub lon: f64,
}Expand description
A raw BD-09 coordinate presented at the input edge. BD-09 is never a storable
GpsDatum (metadata doc, Closed Enum Value Sets): it must be folded to GCJ-02 by
fold_bd09_to_gcj02 before it can enter a sidecar, and is stored as
GpsDatum::Gcj02.
Fields§
§lat: f64Latitude in the BD-09 datum.
lon: f64Longitude in the BD-09 datum.
Trait Implementations§
impl Copy for Bd09Coord
impl StructuralPartialEq for Bd09Coord
Auto Trait Implementations§
impl Freeze for Bd09Coord
impl RefUnwindSafe for Bd09Coord
impl Send for Bd09Coord
impl Sync for Bd09Coord
impl Unpin for Bd09Coord
impl UnsafeUnpin for Bd09Coord
impl UnwindSafe for Bd09Coord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more