kml 0.13.0

KML support for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::types::{CoordType, Kml};
use std::collections::HashMap;

/// `kml:Folder`, [9.13](http://docs.opengeospatial.org/is/12-007r2/12-007r2.html#241) in the KML
/// specification
///
/// Partially implemented.
#[derive(Clone, Default, PartialEq, Debug)]
pub struct Folder<T: CoordType = f64> {
    pub name: Option<String>,
    pub description: Option<String>,
    pub style_url: Option<String>,
    pub attrs: HashMap<String, String>,
    pub elements: Vec<Kml<T>>,
}