Enum kml::KmlVersion
source · [−]#[non_exhaustive]
pub enum KmlVersion {
Unknown,
V22,
V23,
}Expand description
Enum for representing the KML version being parsed
According to http://docs.opengeospatial.org/is/12-007r2/12-007r2.html#7 namespace for 2.3 is unchanged since it should be backwards-compatible
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
V22
V23
Trait Implementations
sourceimpl Clone for KmlVersion
impl Clone for KmlVersion
sourcefn clone(&self) -> KmlVersion
fn clone(&self) -> KmlVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for KmlVersion
impl Debug for KmlVersion
sourceimpl Default for KmlVersion
impl Default for KmlVersion
sourcefn default() -> KmlVersion
fn default() -> KmlVersion
Returns the “default value” for a type. Read more
sourceimpl FromStr for KmlVersion
impl FromStr for KmlVersion
sourceimpl PartialEq<KmlVersion> for KmlVersion
impl PartialEq<KmlVersion> for KmlVersion
impl StructuralPartialEq for KmlVersion
Auto Trait Implementations
impl RefUnwindSafe for KmlVersion
impl Send for KmlVersion
impl Sync for KmlVersion
impl Unpin for KmlVersion
impl UnwindSafe for KmlVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more