pub enum Node {
Declaration {
version: Version,
encoding: String,
},
Element(Element),
CData(String),
Comment(String),
Characters(String),
}
Expand description
Nodes in a SVG document
Variants§
Declaration
XML - declaration is not a tag. It is used for the transmission of the meta-data of a document.
Fields
Element(Element)
Tag element in a SVG document
CData(String)
CDATA
section in a SVG document
Comment(String)
Comment in a SVG document
Characters(String)
Arbitrary characters in a SVG document
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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