pub enum GeometryKind {
Point,
Line,
Polygon,
MultiPoint,
MultiLine,
MultiPolygon,
Collection,
}Variants§
Implementations§
Source§impl GeometryKind
impl GeometryKind
Sourcepub fn walk_revisioned_variant_name(
wire_revision: u16,
discriminant: u32,
) -> Option<&'static str>
pub fn walk_revisioned_variant_name( wire_revision: u16, discriminant: u32, ) -> Option<&'static str>
Resolve a wire discriminant at wire_revision to the variant
identifier at that revision. Returns None if no such variant
exists at that revision.
Generated by the revisioned derive.
Sourcepub fn walk_revisioned_variant_table(
wire_revision: u16,
) -> &'static [(&'static str, u32)]
pub fn walk_revisioned_variant_table( wire_revision: u16, ) -> &'static [(&'static str, u32)]
Variant name + discriminant pairs at wire_revision. Returns
an empty slice if the revision is unknown. Generated by the
revisioned derive.
Trait Implementations§
Source§impl Clone for GeometryKind
impl Clone for GeometryKind
Source§impl Debug for GeometryKind
impl Debug for GeometryKind
Source§impl DeserializeRevisioned for GeometryKind
impl DeserializeRevisioned for GeometryKind
impl Eq for GeometryKind
Source§impl From<GeometryKind> for GeometryKind
impl From<GeometryKind> for GeometryKind
Source§fn from(v: GeometryKind) -> Self
fn from(v: GeometryKind) -> Self
Converts to this type from the input type.
Source§impl From<GeometryKind> for GeometryKind
impl From<GeometryKind> for GeometryKind
Source§fn from(v: GeometryKind) -> Self
fn from(v: GeometryKind) -> Self
Converts to this type from the input type.
Source§impl From<GeometryKind> for PublicGeometryKind
impl From<GeometryKind> for PublicGeometryKind
Source§fn from(k: GeometryKind) -> Self
fn from(k: GeometryKind) -> Self
Converts to this type from the input type.
Source§impl From<GeometryKind> for GeometryKind
impl From<GeometryKind> for GeometryKind
Source§fn from(k: PublicGeometryKind) -> Self
fn from(k: PublicGeometryKind) -> Self
Converts to this type from the input type.
Source§impl FromStr for GeometryKind
impl FromStr for GeometryKind
Source§impl Hash for GeometryKind
impl Hash for GeometryKind
Source§impl PartialEq for GeometryKind
impl PartialEq for GeometryKind
Source§impl Revisioned for GeometryKind
impl Revisioned for GeometryKind
Source§impl SerializeRevisioned for GeometryKind
impl SerializeRevisioned for GeometryKind
Source§impl SkipCheckRevisioned for GeometryKind
impl SkipCheckRevisioned for GeometryKind
Source§impl SkipRevisioned for GeometryKind
impl SkipRevisioned for GeometryKind
fn skip_revisioned<R: Read>(reader: &mut R) -> Result<(), Error>
Source§fn skip_revisioned_slice(reader: &mut SliceReader<'_>) -> Result<(), Error>
fn skip_revisioned_slice(reader: &mut SliceReader<'_>) -> Result<(), Error>
Consume through bytes backed by
SliceReader without allocating a buffer for bulk segments. Read moreimpl StructuralPartialEq for GeometryKind
Source§impl ToSql for GeometryKind
impl ToSql for GeometryKind
Source§impl WalkRevisioned for GeometryKind
impl WalkRevisioned for GeometryKind
Source§type Walker<'r, R: BorrowedReader + 'r> = GeometryKindWalker<'r, R>
type Walker<'r, R: BorrowedReader + 'r> = GeometryKindWalker<'r, R>
Walker produced by
walk_revisioned. Read moreSource§fn walk_revisioned<'r, R: BorrowedReader>(
reader: &'r mut R,
) -> Result<Self::Walker<'r, R>, Error>
fn walk_revisioned<'r, R: BorrowedReader>( reader: &'r mut R, ) -> Result<Self::Walker<'r, R>, Error>
Read the type’s revision-level prefix and return a walker positioned at
the start of the body. Read more
Auto Trait Implementations§
impl Freeze for GeometryKind
impl RefUnwindSafe for GeometryKind
impl Send for GeometryKind
impl Sync for GeometryKind
impl Unpin for GeometryKind
impl UnsafeUnpin for GeometryKind
impl UnwindSafe for GeometryKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.