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<T> TryFrom<Wkt<T>> for Geometry<T> where
T: CoordFloat,
impl<T> TryFrom<Wkt<T>> for Geometry<T> where
T: CoordFloat,
sourceimpl<T: CoordFloat> TryFrom<Wkt<T>> for Point<T>
impl<T: CoordFloat> TryFrom<Wkt<T>> for Point<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordFloat> TryFrom<Wkt<T>> for GeometryCollection<T>
impl<T: CoordFloat> TryFrom<Wkt<T>> for GeometryCollection<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordFloat> TryFrom<Wkt<T>> for Line<T>
impl<T: CoordFloat> TryFrom<Wkt<T>> for Line<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordFloat> TryFrom<Wkt<T>> for LineString<T>
impl<T: CoordFloat> TryFrom<Wkt<T>> for LineString<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordFloat> TryFrom<Wkt<T>> for Polygon<T>
impl<T: CoordFloat> TryFrom<Wkt<T>> for Polygon<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordFloat> TryFrom<Wkt<T>> for MultiPoint<T>
impl<T: CoordFloat> TryFrom<Wkt<T>> for MultiPoint<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordFloat> TryFrom<Wkt<T>> for MultiLineString<T>
impl<T: CoordFloat> TryFrom<Wkt<T>> for MultiLineString<T>
Fallibly convert this WKT primitive into this geo_types
primitive
sourceimpl<T: CoordFloat> TryFrom<Wkt<T>> for MultiPolygon<T>
impl<T: CoordFloat> 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more