Struct postgis::Polygon [] [src]

pub struct Polygon<P> {
    pub rings: Vec<LineString<P>>,
}

Fields

Methods

impl<P: ToPoint> Polygon<P>
[src]

Trait Implementations

impl<P: Debug> Debug for Polygon<P>
[src]

Formats the value using the given formatter.

impl<P: ToPoint> FromIterator<LineString<P>> for Polygon<P>
[src]

Creates a value from an iterator. Read more

impl<P: ToPoint + Debug> ToSql for Polygon<P>
[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, writing it to out. Read more

impl<P: ToPoint + Debug> FromSql for Polygon<P>
[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 Reader of the binary format of the specified Postgres Type. Read more

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