Expand description
Container for WKT primitives and collections
This type can be fallibly converted to a geo_types
primitive using std::convert::TryFrom
.
Fields
item: Geometry<T>
Trait Implementations
sourceimpl<'de, T> Deserialize<'de> for Wkt<T> where
T: FromStr + Default + Debug + WktNum,
impl<'de, T> Deserialize<'de> for Wkt<T> where
T: FromStr + Default + Debug + WktNum,
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T: CoordNum> TryFrom<Wkt<T>> for Point<T>
impl<T: CoordNum> TryFrom<Wkt<T>> for Point<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordNum> TryFrom<Wkt<T>> for GeometryCollection<T>
impl<T: CoordNum> TryFrom<Wkt<T>> for GeometryCollection<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordNum> TryFrom<Wkt<T>> for Line<T>
impl<T: CoordNum> TryFrom<Wkt<T>> for Line<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordNum> TryFrom<Wkt<T>> for LineString<T>
impl<T: CoordNum> TryFrom<Wkt<T>> for LineString<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordNum> TryFrom<Wkt<T>> for Polygon<T>
impl<T: CoordNum> TryFrom<Wkt<T>> for Polygon<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordNum> TryFrom<Wkt<T>> for MultiPoint<T>
impl<T: CoordNum> TryFrom<Wkt<T>> for MultiPoint<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordNum> TryFrom<Wkt<T>> for MultiLineString<T>
impl<T: CoordNum> TryFrom<Wkt<T>> for MultiLineString<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordNum> TryFrom<Wkt<T>> for MultiPolygon<T>
impl<T: CoordNum> TryFrom<Wkt<T>> for MultiPolygon<T>
Fallibly convert this WKT primitive into this geo_types
primitive
Auto Trait Implementations
impl<T> RefUnwindSafe for Wkt<T> where
T: RefUnwindSafe,
impl<T> Send for Wkt<T> where
T: Send,
impl<T> Sync for Wkt<T> where
T: Sync,
impl<T> Unpin for Wkt<T> where
T: Unpin,
impl<T> UnwindSafe for Wkt<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more