[][src]Trait postgis::ewkb::AsEwkbGeometry

pub trait AsEwkbGeometry<'a> {
    type PointType: 'a + Point + EwkbRead;
    type PointIter: Iterator<Item = &'a Self::PointType> + ExactSizeIterator<Item = &'a Self::PointType>;
    type MultiPointType: 'a + MultiPoint<'a, ItemType = Self::PointType, Iter = Self::PointIter>;
    type LineType: 'a + LineString<'a, ItemType = Self::PointType, Iter = Self::PointIter>;
    type LineIter: Iterator<Item = &'a Self::LineType> + ExactSizeIterator<Item = &'a Self::LineType>;
    type MultiLineType: 'a + MultiLineString<'a, ItemType = Self::LineType, Iter = Self::LineIter>;
    type PolyType: 'a + Polygon<'a, ItemType = Self::LineType, Iter = Self::LineIter>;
    type PolyIter: Iterator<Item = &'a Self::PolyType> + ExactSizeIterator<Item = &'a Self::PolyType>;
    type MultiPolyType: 'a + MultiPolygon<'a, ItemType = Self::PolyType, Iter = Self::PolyIter>;
    type GeomType: 'a + Geometry<'a, Point = Self::PointType, LineString = Self::LineType, Polygon = Self::PolyType, MultiPoint = Self::MultiPointType, MultiLineString = Self::MultiLineType, MultiPolygon = Self::MultiPolyType, GeometryCollection = Self::GeomCollection>;
    type GeomIter: Iterator<Item = &'a Self::GeomType> + ExactSizeIterator<Item = &'a Self::GeomType>;
    type GeomCollection: 'a + GeometryCollection<'a, ItemType = Self::GeomType, Iter = Self::GeomIter>;
    fn as_ewkb(
        &'a self
    ) -> EwkbGeometry<'a, Self::PointType, Self::PointIter, Self::MultiPointType, Self::LineType, Self::LineIter, Self::MultiLineType, Self::PolyType, Self::PolyIter, Self::MultiPolyType, Self::GeomType, Self::GeomIter, Self::GeomCollection>; }

Associated Types

type PointType: 'a + Point + EwkbRead

type PointIter: Iterator<Item = &'a Self::PointType> + ExactSizeIterator<Item = &'a Self::PointType>

type MultiPointType: 'a + MultiPoint<'a, ItemType = Self::PointType, Iter = Self::PointIter>

type LineType: 'a + LineString<'a, ItemType = Self::PointType, Iter = Self::PointIter>

type LineIter: Iterator<Item = &'a Self::LineType> + ExactSizeIterator<Item = &'a Self::LineType>

type MultiLineType: 'a + MultiLineString<'a, ItemType = Self::LineType, Iter = Self::LineIter>

type PolyType: 'a + Polygon<'a, ItemType = Self::LineType, Iter = Self::LineIter>

type PolyIter: Iterator<Item = &'a Self::PolyType> + ExactSizeIterator<Item = &'a Self::PolyType>

type MultiPolyType: 'a + MultiPolygon<'a, ItemType = Self::PolyType, Iter = Self::PolyIter>

type GeomType: 'a + Geometry<'a, Point = Self::PointType, LineString = Self::LineType, Polygon = Self::PolyType, MultiPoint = Self::MultiPointType, MultiLineString = Self::MultiLineType, MultiPolygon = Self::MultiPolyType, GeometryCollection = Self::GeomCollection>

type GeomIter: Iterator<Item = &'a Self::GeomType> + ExactSizeIterator<Item = &'a Self::GeomType>

type GeomCollection: 'a + GeometryCollection<'a, ItemType = Self::GeomType, Iter = Self::GeomIter>

Loading content...

Required methods

fn as_ewkb(
    &'a self
) -> EwkbGeometry<'a, Self::PointType, Self::PointIter, Self::MultiPointType, Self::LineType, Self::LineIter, Self::MultiLineType, Self::PolyType, Self::PolyIter, Self::MultiPolyType, Self::GeomType, Self::GeomIter, Self::GeomCollection>

Loading content...

Implementors

impl<'a, P> AsEwkbGeometry<'a> for GeometryT<P> where
    P: 'a + Point + EwkbRead + AsEwkbPoint<'a>, 
[src]

type PointType = P

type PointIter = Iter<'a, P>

type MultiPointType = MultiPointT<P>

type LineType = LineStringT<P>

type LineIter = Iter<'a, Self::LineType>

type MultiLineType = MultiLineStringT<P>

type PolyType = PolygonT<P>

type PolyIter = Iter<'a, Self::PolyType>

type MultiPolyType = MultiPolygonT<P>

type GeomType = GeometryT<P>

type GeomIter = Iter<'a, Self::GeomType>

type GeomCollection = GeometryCollectionT<P>

Loading content...