Docs.rs
usvg-tree-0.35.0
usvg-tree 0.35.0
Docs.rs crate page
MPL-2.0
Links
Repository
crates.io
Source
Owners
RazrFalcon
Dependencies
rctree ^0.5
normal
strict-num ^0.1.1
normal
svgtypes ^0.11
normal
tiny-skia-path ^0.10
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
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
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
<
Rect
>
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