[−][src]Struct postgis::ewkb::PolygonT
Fields
rings: Vec<LineStringT<P>>
srid: Option<i32>
Methods
impl<P> PolygonT<P> where
P: Point + EwkbRead,
[src]
P: Point + EwkbRead,
Trait Implementations
impl<'a, P> AsEwkbPolygon<'a> for PolygonT<P> where
P: 'a + Point + EwkbRead,
[src]
P: 'a + Point + EwkbRead,
type PointType = P
type PointIter = Iter<'a, P>
type ItemType = LineStringT<P>
type Iter = Iter<'a, Self::ItemType>
fn as_ewkb(
&'a self
) -> EwkbPolygon<'a, Self::PointType, Self::PointIter, Self::ItemType, Self::Iter>
[src]
&'a self
) -> EwkbPolygon<'a, Self::PointType, Self::PointIter, Self::ItemType, Self::Iter>
impl<P: Clone + Point + EwkbRead> Clone for PolygonT<P>
[src]
impl<P: Debug + Point + EwkbRead> Debug for PolygonT<P>
[src]
impl<P> EwkbRead for PolygonT<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<LineStringT<P>> for PolygonT<P> where
P: Point + EwkbRead,
[src]
P: Point + EwkbRead,
fn from_iter<I: IntoIterator<Item = LineStringT<P>>>(iterable: I) -> PolygonT<P>
[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 PolygonT<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 + 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<P: PartialEq + Point + EwkbRead> PartialEq<PolygonT<P>> for PolygonT<P>
[src]
impl<'a, P> Polygon<'a> for PolygonT<P> where
P: 'a + Point + EwkbRead,
[src]
P: 'a + Point + EwkbRead,
type ItemType = LineStringT<P>
type Iter = Iter<'a, Self::ItemType>
fn rings(&'a self) -> Self::Iter
[src]
impl<P: Point + EwkbRead> StructuralPartialEq for PolygonT<P>
[src]
impl<'a, T> ToSql for PolygonT<T> where
T: 'a + Point + EwkbRead,
[src]
T: 'a + Point + EwkbRead,
Auto Trait Implementations
impl<P> RefUnwindSafe for PolygonT<P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<P> Send for PolygonT<P>
impl<P> Sync for PolygonT<P>
impl<P> Unpin for PolygonT<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for PolygonT<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>,