Docs.rs
usvg-tree-0.32.0
usvg-tree 0.32.0
Docs.rs crate page
MPL-2.0
Links
Repository
crates.io
Source
Owners
RazrFalcon
Dependencies
kurbo ^0.9
normal
rctree ^0.5
normal
strict-num ^0.1
normal
svgtypes ^0.11
normal
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Node
Trait Implementations
NodeExt
In usvg_tree
?
Type Definition
usvg_tree
::
Node
source
·
[
−
]
pub type Node =
Node
<
NodeKind
>;
Expand description
Alias for
rctree::Node<NodeKind>
.
Trait Implementations
§
source
§
impl
NodeExt
for
Node
source
§
fn
id
(&self) ->
Ref
<'_,
str
>
Returns node’s ID.
Read more
source
§
fn
transform
(&self) ->
Transform
Returns node’s transform.
Read more
source
§
fn
abs_transform
(&self) ->
Transform
Returns node’s absolute transform.
Read more
source
§
fn
append_kind
(&self, kind:
NodeKind
) ->
Node
Appends
kind
as a node child.
Read more
source
§
fn
calculate_bbox
(&self) ->
Option
<
PathBbox
>
Calculates node’s absolute bounding box.
Read more
source
§
fn
subroots
<F:
FnMut
(
Node
)>(&self, f: F)
Calls a closure for each subroot this
Node
has.
Read more