pub struct Placemark<T: CoordType = f64> {
pub name: Option<String>,
pub description: Option<String>,
pub geometry: Option<Geometry<T>>,
pub style_url: Option<String>,
pub attrs: HashMap<String, String>,
pub children: Vec<Element>,
}Expand description
kml:Placemark, 9.14 in the KML
specification
Placemark not inside of kml:Update (unused) requires a Geometry according to ATC-226, but Google’s reference says it’s optional Google Placemark reference.
Currently leaving optional.
Fields§
§name: Option<String>§description: Option<String>§geometry: Option<Geometry<T>>§style_url: Option<String>§attrs: HashMap<String, String>§children: Vec<Element>Trait Implementations§
Source§impl<T: PartialEq + CoordType> PartialEq for Placemark<T>
impl<T: PartialEq + CoordType> PartialEq for Placemark<T>
impl<T: PartialEq + CoordType> StructuralPartialEq for Placemark<T>
Auto Trait Implementations§
impl<T> Freeze for Placemark<T>where
T: Freeze,
impl<T> RefUnwindSafe for Placemark<T>where
T: RefUnwindSafe,
impl<T> Send for Placemark<T>where
T: Send,
impl<T> Sync for Placemark<T>where
T: Sync,
impl<T> Unpin for Placemark<T>where
T: Unpin,
impl<T> UnsafeUnpin for Placemark<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Placemark<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