Enum EwkbGeometry

Source
pub enum EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>
where P: 'a + Point, PI: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>, MP: 'a + MultiPoint<'a, ItemType = P, Iter = PI>, L: 'a + LineString<'a, ItemType = P, Iter = PI>, LI: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>, ML: 'a + MultiLineString<'a, ItemType = L, Iter = LI>, Y: 'a + Polygon<'a, ItemType = L, Iter = LI>, YI: 'a + Iterator<Item = &'a Y> + ExactSizeIterator<Item = &'a Y>, MY: 'a + MultiPolygon<'a, ItemType = Y, Iter = YI>, G: 'a + Geometry<'a, Point = P, LineString = L, Polygon = Y, MultiPoint = MP, MultiLineString = ML, MultiPolygon = MY, GeometryCollection = GC>, GI: 'a + Iterator<Item = &'a G> + ExactSizeIterator<Item = &'a G>, GC: 'a + GeometryCollection<'a, ItemType = G, Iter = GI>,
{ Point(EwkbPoint<'a>), LineString(EwkbLineString<'a, P, PI>), Polygon(EwkbPolygon<'a, P, PI, L, LI>), MultiPoint(EwkbMultiPoint<'a, P, PI>), MultiLineString(EwkbMultiLineString<'a, P, PI, L, LI>), MultiPolygon(EwkbMultiPolygon<'a, P, PI, L, LI, Y, YI>), GeometryCollection(EwkbGeometryCollection<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>), }

Variants§

§

Point(EwkbPoint<'a>)

§

LineString(EwkbLineString<'a, P, PI>)

§

Polygon(EwkbPolygon<'a, P, PI, L, LI>)

§

MultiPoint(EwkbMultiPoint<'a, P, PI>)

§

MultiLineString(EwkbMultiLineString<'a, P, PI, L, LI>)

§

MultiPolygon(EwkbMultiPolygon<'a, P, PI, L, LI, Y, YI>)

§

GeometryCollection(EwkbGeometryCollection<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>)

Trait Implementations§

Source§

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> Debug for EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>
where P: 'a + Point, PI: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>, MP: 'a + MultiPoint<'a, ItemType = P, Iter = PI>, L: 'a + LineString<'a, ItemType = P, Iter = PI>, LI: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>, ML: 'a + MultiLineString<'a, ItemType = L, Iter = LI>, Y: 'a + Polygon<'a, ItemType = L, Iter = LI>, YI: 'a + Iterator<Item = &'a Y> + ExactSizeIterator<Item = &'a Y>, MY: 'a + MultiPolygon<'a, ItemType = Y, Iter = YI>, G: 'a + Geometry<'a, Point = P, LineString = L, Polygon = Y, MultiPoint = MP, MultiLineString = ML, MultiPolygon = MY, GeometryCollection = GC>, GI: 'a + Iterator<Item = &'a G> + ExactSizeIterator<Item = &'a G>, GC: 'a + GeometryCollection<'a, ItemType = G, Iter = GI>,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> EwkbWrite for EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>
where P: 'a + Point, PI: 'a + Iterator<Item = &'a P> + ExactSizeIterator<Item = &'a P>, MP: 'a + MultiPoint<'a, ItemType = P, Iter = PI>, L: 'a + LineString<'a, ItemType = P, Iter = PI>, LI: 'a + Iterator<Item = &'a L> + ExactSizeIterator<Item = &'a L>, ML: 'a + MultiLineString<'a, ItemType = L, Iter = LI>, Y: 'a + Polygon<'a, ItemType = L, Iter = LI>, YI: 'a + Iterator<Item = &'a Y> + ExactSizeIterator<Item = &'a Y>, MY: 'a + MultiPolygon<'a, ItemType = Y, Iter = YI>, G: 'a + Geometry<'a, Point = P, LineString = L, Polygon = Y, MultiPoint = MP, MultiLineString = ML, MultiPolygon = MY, GeometryCollection = GC>, GI: 'a + Iterator<Item = &'a G> + ExactSizeIterator<Item = &'a G>, GC: 'a + GeometryCollection<'a, ItemType = G, Iter = GI>,

Source§

fn opt_srid(&self) -> Option<i32>

Source§

fn type_id(&self) -> u32

Source§

fn wkb_type_id(point_type: &PointType, srid: Option<i32>) -> u32

Source§

fn write_ewkb<W: Write + ?Sized>(&self, w: &mut W) -> Result<(), Error>

Source§

fn to_hex_ewkb(&self) -> String

Auto Trait Implementations§

§

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> Freeze for EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>

§

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> !RefUnwindSafe for EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>

§

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> !Send for EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>

§

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> !Sync for EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>

§

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> Unpin for EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>

§

impl<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC> !UnwindSafe for EwkbGeometry<'a, P, PI, MP, L, LI, ML, Y, YI, MY, G, GI, GC>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V