#[non_exhaustive]pub enum Kml<T: CoordType = f64> {
Show 30 variants
KmlDocument(KmlDocument<T>),
Scale(Scale<T>),
Orientation(Orientation<T>),
Point(Point<T>),
Location(Location<T>),
LineString(LineString<T>),
LinearRing(LinearRing<T>),
Polygon(Polygon<T>),
MultiGeometry(MultiGeometry<T>),
Placemark(Placemark<T>),
Document {
attrs: HashMap<String, String>,
elements: Vec<Kml<T>>,
},
Folder {
attrs: HashMap<String, String>,
elements: Vec<Kml<T>>,
},
Style(Style),
StyleMap(StyleMap),
Pair(Pair),
BalloonStyle(BalloonStyle),
IconStyle(IconStyle),
Icon(Icon),
LabelStyle(LabelStyle),
LineStyle(LineStyle),
PolyStyle(PolyStyle),
ListStyle(ListStyle),
LinkTypeIcon(LinkTypeIcon),
Link(Link),
ResourceMap(ResourceMap),
Alias(Alias),
SchemaData(SchemaData),
SimpleArrayData(SimpleArrayData),
SimpleData(SimpleData),
Element(Element),
}
Expand description
Enum for representing any KML element
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.
KmlDocument(KmlDocument<T>)
Scale(Scale<T>)
Orientation(Orientation<T>)
Point(Point<T>)
Location(Location<T>)
LineString(LineString<T>)
LinearRing(LinearRing<T>)
Polygon(Polygon<T>)
MultiGeometry(MultiGeometry<T>)
Placemark(Placemark<T>)
Document
Folder
Style(Style)
StyleMap(StyleMap)
Pair(Pair)
BalloonStyle(BalloonStyle)
IconStyle(IconStyle)
Icon(Icon)
LabelStyle(LabelStyle)
LineStyle(LineStyle)
PolyStyle(PolyStyle)
ListStyle(ListStyle)
LinkTypeIcon(LinkTypeIcon)
Link(Link)
ResourceMap(ResourceMap)
Alias(Alias)
SchemaData(SchemaData)
SimpleArrayData(SimpleArrayData)
SimpleData(SimpleData)
Element(Element)
Trait Implementations§
source§impl<T: PartialEq + CoordType> PartialEq for Kml<T>
impl<T: PartialEq + CoordType> PartialEq for Kml<T>
impl<T: CoordType> StructuralPartialEq for Kml<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Kml<T>where
T: RefUnwindSafe,
impl<T> Send for Kml<T>where
T: Send,
impl<T> Sync for Kml<T>where
T: Sync,
impl<T> Unpin for Kml<T>where
T: Unpin,
impl<T> UnwindSafe for Kml<T>where
T: UnwindSafe,
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