[−][src]Struct postgis::ewkb::GeometryCollectionT
Fields
geometries: Vec<GeometryT<P>>
srid: Option<i32>
Methods
impl<P> GeometryCollectionT<P> where
P: Point + EwkbRead,
[src]
P: Point + EwkbRead,
pub fn new() -> GeometryCollectionT<P>
[src]
Trait Implementations
impl<'a, P> AsEwkbGeometryCollection<'a> for GeometryCollectionT<P> where
P: 'a + Point + EwkbRead,
[src]
P: 'a + Point + EwkbRead,
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
) -> EwkbGeometryCollection<'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
) -> EwkbGeometryCollection<'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 GeometryCollectionT<P>
[src]
fn clone(&self) -> GeometryCollectionT<P>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P: Debug + Point + EwkbRead> Debug for GeometryCollectionT<P>
[src]
impl<P> EwkbRead for GeometryCollectionT<P> where
P: Point + EwkbRead,
[src]
P: Point + EwkbRead,
fn point_type() -> PointType
[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>
fn read_ewkb<R: Read>(raw: &mut R) -> Result<Self, Error>
[src]
impl<'a, P> FromSql<'a> for GeometryCollectionT<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 + Send + Sync>>
[src]
ty: &Type
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
fn from_sql_nullable(
ty: &Type,
raw: Option<&'a [u8]>
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
[src]
ty: &Type,
raw: Option<&'a [u8]>
) -> Result<Self, Box<dyn Error + 'static + Send + Sync>>
impl<'a, P> ToSql for GeometryCollectionT<P> where
P: Point + EwkbRead,
[src]
P: Point + EwkbRead,
Auto Trait Implementations
impl<P> RefUnwindSafe for GeometryCollectionT<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for GeometryCollectionT<P>
impl<P> Sync for GeometryCollectionT<P>
impl<P> Unpin for GeometryCollectionT<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for GeometryCollectionT<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>,