[go: up one dir, main page]

Struct postgis::ewkb::EwkbPolygon [] [src]

pub struct EwkbPolygon<'a, P, I, T, J> where P: 'a + Point, I: 'a + Iterator<Item=&'a P> + ExactSizeIterator<Item=&'a P>, T: 'a + LineString<'a, ItemType=P, Iter=I>, J: 'a + Iterator<Item=&'a T> + ExactSizeIterator<Item=&'a T> {
    pub geom: &'a Polygon<'a, ItemType=T, Iter=J>,
    pub srid: Option<i32>,
    pub point_type: PointType,
}

Fields

Trait Implementations

impl<'a, P, I, T, J> Debug for EwkbPolygon<'a, P, I, T, J> where P: 'a + Point, I: 'a + Iterator<Item=&'a P> + ExactSizeIterator<Item=&'a P>, T: 'a + LineString<'a, ItemType=P, Iter=I>, J: 'a + Iterator<Item=&'a T> + ExactSizeIterator<Item=&'a T>
[src]

Formats the value using the given formatter.

impl<'a, P, I, T, J> EwkbWrite for EwkbPolygon<'a, P, I, T, J> where P: 'a + Point, I: 'a + Iterator<Item=&'a P> + ExactSizeIterator<Item=&'a P>, T: 'a + LineString<'a, ItemType=P, Iter=I>, J: 'a + Iterator<Item=&'a T> + ExactSizeIterator<Item=&'a T>
[src]

impl<'a, P, I, T, J> ToSql for EwkbPolygon<'a, P, I, T, J> where P: 'a + Point, I: 'a + Iterator<Item=&'a P> + ExactSizeIterator<Item=&'a P>, T: 'a + LineString<'a, ItemType=P, Iter=I>, J: 'a + Iterator<Item=&'a T> + ExactSizeIterator<Item=&'a T>
[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