[go: up one dir, main page]

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

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

Fields

Methods

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

Trait Implementations

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.

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

Creates a value from an iterator. Read more

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

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

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

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

Determines if a value of this type can be created from the specified Postgres Type. Read more

Creates a new value of this type from a buffer of data of the specified Postgres Type in its binary format. Read more

Creates a new value of this type from a NULL SQL value. Read more

A convenience function that delegates to from_sql and from_sql_null depending on the value of raw. Read more

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

An adaptor method used internally by Rust-Postgres. Read more

Determines if a value of this type can be converted to the specified Postgres Type. Read more

Converts the value of self into the binary format of the specified Postgres Type, appending it to out. Read more