Enum gpx::GpxVersion
source · pub enum GpxVersion {
Unknown,
Gpx10,
Gpx11,
}
Expand description
Allowable GPX versions. Currently, only GPX 1.0 and GPX 1.1 are accepted.
Variants§
Trait Implementations§
source§impl Clone for GpxVersion
impl Clone for GpxVersion
source§fn clone(&self) -> GpxVersion
fn clone(&self) -> GpxVersion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GpxVersion
impl Debug for GpxVersion
source§impl Default for GpxVersion
impl Default for GpxVersion
source§fn default() -> GpxVersion
fn default() -> GpxVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GpxVersion
impl<'de> Deserialize<'de> for GpxVersion
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for GpxVersion
impl Display for GpxVersion
source§impl PartialEq for GpxVersion
impl PartialEq for GpxVersion
source§fn eq(&self, other: &GpxVersion) -> bool
fn eq(&self, other: &GpxVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GpxVersion
impl Serialize for GpxVersion
impl Copy for GpxVersion
impl StructuralPartialEq for GpxVersion
Auto Trait Implementations§
impl RefUnwindSafe for GpxVersion
impl Send for GpxVersion
impl Sync for GpxVersion
impl Unpin for GpxVersion
impl UnwindSafe for GpxVersion
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