pub struct Point<T: CoordType = f64> {
pub coord: Coord<T>,
pub extrude: bool,
pub altitude_mode: AltitudeMode,
pub attrs: HashMap<String, String>,
}
Expand description
kml:Point
, 10.2 in the KML
specification
Coord is required as of https://docs.opengeospatial.org/ts/14-068r2/14-068r2.html#atc-114
Fields§
§coord: Coord<T>
§extrude: bool
§altitude_mode: AltitudeMode
§attrs: HashMap<String, String>
Implementations§
Trait Implementations§
Source§impl<T> From<Point<T>> for Point<T>where
T: CoordType,
Available on crate feature geo-types
only.
impl<T> From<Point<T>> for Point<T>where
T: CoordType,
Available on crate feature
geo-types
only.impl<T: Eq + CoordType> Eq for Point<T>
impl<T: CoordType> StructuralPartialEq for Point<T>
Auto Trait Implementations§
impl<T> Freeze for Point<T>where
T: Freeze,
impl<T> RefUnwindSafe for Point<T>where
T: RefUnwindSafe,
impl<T> Send for Point<T>where
T: Send,
impl<T> Sync for Point<T>where
T: Sync,
impl<T> Unpin for Point<T>where
T: Unpin,
impl<T> UnwindSafe for Point<T>where
T: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.