pub struct Zoint<'a> { /* private fields */ }Implementations§
Source§impl<'a> Zoint<'a>
impl<'a> Zoint<'a>
pub fn new(coord: &'a Coord) -> Self
pub fn from_bytes(data: &'a [u8]) -> Self
pub fn write_from_geometry( writer: &mut impl Write, geometry: &Point<f64>, ) -> Result<(), Error>
pub fn coord(&self) -> &'a Coord
pub fn lat(&self) -> f64
pub fn lng(&self) -> f64
pub fn x(&self) -> f64
pub fn y(&self) -> f64
pub fn to_geo(&self) -> Point<f64>
Trait Implementations§
Source§impl<'a> RelationBetweenShapes<Zerometry<'a>> for Zoint<'a>
impl<'a> RelationBetweenShapes<Zerometry<'a>> for Zoint<'a>
Source§impl<'a> RelationBetweenShapes<Zoint<'a>> for Zerometry<'a>
impl<'a> RelationBetweenShapes<Zoint<'a>> for Zerometry<'a>
Source§impl<'a> RelationBetweenShapes<Zoint<'a>> for Zoint<'a>
impl<'a> RelationBetweenShapes<Zoint<'a>> for Zoint<'a>
Source§impl<'a> RelationBetweenShapes<Zoint<'a>> for Zolygon<'a>
impl<'a> RelationBetweenShapes<Zoint<'a>> for Zolygon<'a>
Source§impl<'a> RelationBetweenShapes<Zoint<'a>> for ZultiPoints<'a>
impl<'a> RelationBetweenShapes<Zoint<'a>> for ZultiPoints<'a>
Source§impl<'a> RelationBetweenShapes<Zoint<'a>> for ZultiPolygon<'a>
impl<'a> RelationBetweenShapes<Zoint<'a>> for ZultiPolygon<'a>
Source§impl<'a> RelationBetweenShapes<Zolygon<'a>> for Zoint<'a>
impl<'a> RelationBetweenShapes<Zolygon<'a>> for Zoint<'a>
Source§impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for Zoint<'a>
impl<'a> RelationBetweenShapes<ZultiPoints<'a>> for Zoint<'a>
Source§impl<'a> RelationBetweenShapes<ZultiPolygon<'a>> for Zoint<'a>
impl<'a> RelationBetweenShapes<ZultiPolygon<'a>> for Zoint<'a>
impl<'a> Copy for Zoint<'a>
Auto Trait Implementations§
impl<'a> Freeze for Zoint<'a>
impl<'a> RefUnwindSafe for Zoint<'a>
impl<'a> Send for Zoint<'a>
impl<'a> Sync for Zoint<'a>
impl<'a> Unpin for Zoint<'a>
impl<'a> UnwindSafe for Zoint<'a>
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> 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