Struct kml::KmlDocument
source · [−]pub struct KmlDocument<T: CoordType = f64> {
pub version: KmlVersion,
pub attrs: HashMap<String, String>,
pub elements: Vec<Kml<T>>,
}Expand description
Container for KML root element
Fields
version: KmlVersionattrs: HashMap<String, String>elements: Vec<Kml<T>>Trait Implementations
sourceimpl<T: Clone + CoordType> Clone for KmlDocument<T>
impl<T: Clone + CoordType> Clone for KmlDocument<T>
sourcefn clone(&self) -> KmlDocument<T>
fn clone(&self) -> KmlDocument<T>
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<T: Debug + CoordType> Debug for KmlDocument<T>
impl<T: Debug + CoordType> Debug for KmlDocument<T>
sourceimpl<T: Default + CoordType> Default for KmlDocument<T>
impl<T: Default + CoordType> Default for KmlDocument<T>
sourcefn default() -> KmlDocument<T>
fn default() -> KmlDocument<T>
Returns the “default value” for a type. Read more
sourceimpl<T: PartialEq + CoordType> PartialEq<KmlDocument<T>> for KmlDocument<T>
impl<T: PartialEq + CoordType> PartialEq<KmlDocument<T>> for KmlDocument<T>
sourcefn eq(&self, other: &KmlDocument<T>) -> bool
fn eq(&self, other: &KmlDocument<T>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &KmlDocument<T>) -> bool
fn ne(&self, other: &KmlDocument<T>) -> bool
This method tests for !=.
impl<T: CoordType> StructuralPartialEq for KmlDocument<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for KmlDocument<T> where
T: RefUnwindSafe,
impl<T> Send for KmlDocument<T> where
T: Send,
impl<T> Sync for KmlDocument<T> where
T: Sync,
impl<T> Unpin for KmlDocument<T> where
T: Unpin,
impl<T> UnwindSafe for KmlDocument<T> where
T: UnwindSafe,
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