[][src]Struct postgis::ewkb::PolygonT

pub struct PolygonT<P: Point + EwkbRead> {
    pub rings: Vec<LineStringT<P>>,
    pub srid: Option<i32>,
}

Fields

rings: Vec<LineStringT<P>>srid: Option<i32>

Methods

impl<P> PolygonT<P> where
    P: Point + EwkbRead
[src]

pub fn new() -> PolygonT<P>[src]

Trait Implementations

impl<'a, P> AsEwkbPolygon<'a> for PolygonT<P> where
    P: 'a + Point + EwkbRead
[src]

type PointType = P

type PointIter = Iter<'a, P>

type ItemType = LineStringT<P>

type Iter = Iter<'a, Self::ItemType>

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]

impl<P> FromIterator<LineStringT<P>> for PolygonT<P> where
    P: Point + EwkbRead
[src]

impl<P> FromIterator<PolygonT<P>> for MultiPolygonT<P> where
    P: Point + EwkbRead
[src]

impl<'a, T> FromSql<'a> for PolygonT<T> where
    T: 'a + Point + EwkbRead
[src]

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]

type ItemType = LineStringT<P>

type Iter = Iter<'a, Self::ItemType>

impl<P: Point + EwkbRead> StructuralPartialEq for PolygonT<P>[src]

impl<'a, T> ToSql for PolygonT<T> where
    T: 'a + Point + EwkbRead
[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for PolygonT<P> where
    P: RefUnwindSafe

impl<P> Send for PolygonT<P>

impl<P> Sync for PolygonT<P>

impl<P> Unpin for PolygonT<P> where
    P: Unpin

impl<P> UnwindSafe for PolygonT<P> where
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FromSqlOwned for T where
    T: FromSql<'a>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,