[−][src]Struct postgis::ewkb::MultiPolygonT
Fields
polygons: Vec<PolygonT<P>>srid: Option<i32>Methods
impl<P> MultiPolygonT<P> where
P: Point + EwkbRead, [src]
P: Point + EwkbRead,
pub fn new() -> MultiPolygonT<P>[src]
Trait Implementations
impl<'a, P> AsEwkbMultiPolygon<'a> for MultiPolygonT<P> where
P: 'a + Point + EwkbRead, [src]
P: 'a + Point + EwkbRead,
type PointType = P
type PointIter = Iter<'a, P>
type LineType = LineStringT<P>
type LineIter = Iter<'a, Self::LineType>
type ItemType = PolygonT<P>
type Iter = Iter<'a, Self::ItemType>
fn as_ewkb(
&'a self
) -> EwkbMultiPolygon<'a, Self::PointType, Self::PointIter, Self::LineType, Self::LineIter, Self::ItemType, Self::Iter>[src]
&'a self
) -> EwkbMultiPolygon<'a, Self::PointType, Self::PointIter, Self::LineType, Self::LineIter, Self::ItemType, Self::Iter>
impl<P: Clone + Point + EwkbRead> Clone for MultiPolygonT<P>[src]
fn clone(&self) -> MultiPolygonT<P>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<P: Debug + Point + EwkbRead> Debug for MultiPolygonT<P>[src]
impl<P> EwkbRead for MultiPolygonT<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<P> FromIterator<PolygonT<P>> for MultiPolygonT<P> where
P: Point + EwkbRead, [src]
P: Point + EwkbRead,
fn from_iter<I: IntoIterator<Item = PolygonT<P>>>(
iterable: I
) -> MultiPolygonT<P>[src]
iterable: I
) -> MultiPolygonT<P>
impl<'a, T> FromSql<'a> for MultiPolygonT<T> where
T: 'a + Point + EwkbRead, [src]
T: 'a + 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<'a, P> MultiPolygon<'a> for MultiPolygonT<P> where
P: 'a + Point + EwkbRead, [src]
P: 'a + Point + EwkbRead,
type ItemType = PolygonT<P>
type Iter = Iter<'a, Self::ItemType>
fn polygons(&'a self) -> Self::Iter[src]
impl<P: PartialEq + Point + EwkbRead> PartialEq<MultiPolygonT<P>> for MultiPolygonT<P>[src]
fn eq(&self, other: &MultiPolygonT<P>) -> bool[src]
fn ne(&self, other: &MultiPolygonT<P>) -> bool[src]
impl<P: Point + EwkbRead> StructuralPartialEq for MultiPolygonT<P>[src]
impl<'a, T> ToSql for MultiPolygonT<T> where
T: 'a + Point + EwkbRead, [src]
T: 'a + Point + EwkbRead,
Auto Trait Implementations
impl<P> RefUnwindSafe for MultiPolygonT<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for MultiPolygonT<P>
impl<P> Sync for MultiPolygonT<P>
impl<P> Unpin for MultiPolygonT<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for MultiPolygonT<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>,