Struct usvg::Tree [−][src]
pub struct Tree { /* fields omitted */ }
Expand description
A nodes tree container.
Implementations
Parses Tree
from the SVG data.
Can contain an SVG string or a gzip compressed data.
Parses Tree
from the SVG string.
Parses Tree
from roxmltree::Document
.
Checks that node
is part of the Defs
children.
Appends NodeKind
to the Defs
node.
Returns defs
child node by ID.
Returns renderable node by ID.
If an empty ID is provided, than this method will always return None
.
Even if tree has nodes with empty ID.
Converts an SVG.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Tree
impl !UnwindSafe for Tree
Blanket Implementations
Mutably borrows from an owned value. Read more