[−][src]Enum postgis::ewkb::GeometryT
Generic Geometry Data Type
Variants
Point(P)LineString(LineStringT<P>)Polygon(PolygonT<P>)MultiPoint(MultiPointT<P>)MultiLineString(MultiLineStringT<P>)MultiPolygon(MultiPolygonT<P>)GeometryCollection(GeometryCollectionT<P>)Trait Implementations
impl<P> EwkbRead for GeometryT<P> where
P: Point + EwkbRead, [src]
impl<P> EwkbRead for GeometryT<P> where
P: Point + EwkbRead, fn point_type() -> PointType[src]
fn point_type() -> PointTypefn read_ewkb<R: Read>(raw: &mut R) -> Result<Self, Error>[src]
fn read_ewkb<R: Read>(raw: &mut R) -> Result<Self, Error>fn read_ewkb_body<R: Read>(
_raw: &mut R,
_is_be: bool,
_srid: Option<i32>
) -> Result<Self, Error>[src]
fn read_ewkb_body<R: Read>(
_raw: &mut R,
_is_be: bool,
_srid: Option<i32>
) -> Result<Self, Error>impl<'a, P> AsEwkbGeometry<'a> for GeometryT<P> where
P: 'a + Point + EwkbRead + AsEwkbPoint<'a>, [src]
impl<'a, P> AsEwkbGeometry<'a> for GeometryT<P> where
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]
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>impl<P: Clone + Point + EwkbRead> Clone for GeometryT<P>[src]
impl<P: Clone + Point + EwkbRead> Clone for GeometryT<P>fn clone(&self) -> GeometryT<P>[src]
fn clone(&self) -> GeometryT<P>fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<P: Debug + Point + EwkbRead> Debug for GeometryT<P>[src]
impl<P: Debug + Point + EwkbRead> Debug for GeometryT<P>impl ToSql for GeometryT<Point>[src]
impl ToSql for GeometryT<Point>fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>fn accepts(ty: &Type) -> bool[src]
fn accepts(ty: &Type) -> boolimpl ToSql for GeometryT<PointZ>[src]
impl ToSql for GeometryT<PointZ>fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>fn accepts(ty: &Type) -> bool[src]
fn accepts(ty: &Type) -> boolimpl ToSql for GeometryT<PointM>[src]
impl ToSql for GeometryT<PointM>fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>fn accepts(ty: &Type) -> bool[src]
fn accepts(ty: &Type) -> boolimpl ToSql for GeometryT<PointZM>[src]
impl ToSql for GeometryT<PointZM>fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>[src]
fn to_sql(
&self,
_: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>
fn to_sql_checked(
&self,
ty: &Type,
out: &mut Vec<u8>
) -> Result<IsNull, Box<dyn Error + Sync + Send>>fn accepts(ty: &Type) -> bool[src]
fn accepts(ty: &Type) -> boolimpl<P> FromSql for GeometryT<P> where
P: Point + EwkbRead, [src]
impl<P> FromSql for GeometryT<P> where
P: Point + EwkbRead, fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<dyn Error + Sync + Send>>[src]
fn from_sql(ty: &Type, raw: &[u8]) -> Result<Self, Box<dyn Error + Sync + Send>>fn accepts(ty: &Type) -> bool[src]
fn accepts(ty: &Type) -> boolfn from_sql_null(
ty: &Type
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
fn from_sql_null(
ty: &Type
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>Creates a new value of this type from a NULL SQL value. Read more
fn from_sql_nullable(
ty: &Type,
raw: Option<&[u8]>
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
fn from_sql_nullable(
ty: &Type,
raw: Option<&[u8]>
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>A convenience function that delegates to from_sql and from_sql_null depending on the value of raw. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut Timpl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeIdimpl<T> Same for T
impl<T> Same for Ttype Output = T
Should always be Self