Trait AsEwkbGeometry

Source
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>;

    // Required method
    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>;
}

Required Associated Types§

Source

type PointType: 'a + Point + EwkbRead

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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>

Source

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

Source

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

Required Methods§

Source

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>

Implementors§