[−][src]Enum postgis::ewkb::GeometryT
Generic Geometry Data Type
Variants
LineString(LineStringT<P>)Polygon(PolygonT<P>)MultiPoint(MultiPointT<P>)MultiLineString(MultiLineStringT<P>)MultiPolygon(MultiPolygonT<P>)GeometryCollection(GeometryCollectionT<P>)Trait Implementations
impl<'a, P> AsEwkbGeometry<'a> for GeometryT<P> where
P: 'a + Point + EwkbRead + AsEwkbPoint<'a>, [src]
P: 'a + Point + EwkbRead + AsEwkbPoint<'a>,
type PointType = P
type PointIter = Iter<'a, P>
type MultiPointType = MultiPointT<P>
type LineType = LineStringT<P>
type LineIter = Iter<'a, Self::LineType>
type MultiLineType = MultiLineStringT<P>
type PolyType = PolygonT<P>
type PolyIter = Iter<'a, Self::PolyType>
type MultiPolyType = MultiPolygonT<P>
type GeomType = GeometryT<P>
type GeomIter = Iter<'a, Self::GeomType>
type GeomCollection = GeometryCollectionT<P>
fn as_ewkb(
&'a self
) -> EwkbGeometry<'a, Self::PointType, Self::PointIter, Self::MultiPointType, Self::LineType, Self::LineIter, Self::MultiLineType, Self::PolyType, Self::PolyIter, Self::MultiPolyType, Self::GeomType, Self::GeomIter, Self::GeomCollection>[src]
&'a self
) -> EwkbGeometry<'a, Self::PointType, Self::PointIter, Self::MultiPointType, Self::LineType, Self::LineIter, Self::MultiLineType, Self::PolyType, Self::PolyIter, Self::MultiPolyType, Self::GeomType, Self::GeomIter, Self::GeomCollection>
impl<P: Clone + Point + EwkbRead> Clone for GeometryT<P>[src]
impl<P: Debug + Point + EwkbRead> Debug for GeometryT<P>[src]
impl<P> EwkbRead for GeometryT<P> where
P: Point + EwkbRead, [src]
P: Point + EwkbRead,
fn point_type() -> PointType[src]
fn read_ewkb<R: Read>(raw: &mut R) -> Result<Self, Error>[src]
fn read_ewkb_body<R: Read>(
_raw: &mut R,
_is_be: bool,
_srid: Option<i32>
) -> Result<Self, Error>[src]
_raw: &mut R,
_is_be: bool,
_srid: Option<i32>
) -> Result<Self, Error>
impl<'a, P> FromSql<'a> for GeometryT<P> where
P: Point + EwkbRead, [src]
P: Point + EwkbRead,
fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<dyn Error + Sync + Send>>[src]
fn accepts(ty: &Type) -> bool[src]
fn from_sql_null(
ty: &Type
) -> Result<Self, Box<dyn Error + 'static + Sync + Send>>[src]
ty: &Type
) -> Result<Self, Box<dyn Error + 'static + Sync + Send>>
fn from_sql_nullable(
ty: &Type,
raw: Option<&'a [u8]>
) -> Result<Self, Box<dyn Error + 'static + Sync + Send>>[src]
ty: &Type,
raw: Option<&'a [u8]>
) -> Result<Self, Box<dyn Error + 'static + Sync + Send>>
impl ToSql for GeometryT<Point>[src]
fn to_sql(
&self,
_: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
&self,
_: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn to_sql_checked(
&self,
ty: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
&self,
ty: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn accepts(ty: &Type) -> bool[src]
impl ToSql for GeometryT<PointZ>[src]
fn to_sql(
&self,
_: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
&self,
_: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn to_sql_checked(
&self,
ty: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
&self,
ty: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn accepts(ty: &Type) -> bool[src]
impl ToSql for GeometryT<PointM>[src]
fn to_sql(
&self,
_: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
&self,
_: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn to_sql_checked(
&self,
ty: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
&self,
ty: &Type,
out: &mut BytesMut
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn accepts(ty: &Type) -> bool[src]
impl ToSql for GeometryT<PointZM>[src]
Auto Trait Implementations
impl<P> RefUnwindSafe for GeometryT<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for GeometryT<P>
impl<P> Sync for GeometryT<P>
impl<P> Unpin for GeometryT<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for GeometryT<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> FromSqlOwned for T where
T: FromSql<'a>, [src]
T: FromSql<'a>,
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,