Docs.rs
rustmotion-components-0.8.1
rustmotion-components 0.8.1
Docs.rs crate page
MIT
01 October 2026
Links
Repository
crates.io
Source
Owners
LeadcodeDev
Dependencies
dashmap ^6
normal
optional
gif ^0.13
normal
image ^0.25
normal
qrcode ^0.14
normal
resvg ^0.44
normal
rustmotion-core ^0.8.1
normal
schemars ^0.8
normal
serde ^1
normal
serde_json ^1
normal
skia-safe ^0.99
normal
thorvg ^0.5
normal
optional
tiny-skia ^0.11
normal
usvg ^0.44
normal
Versions
21.58%
of the crate is documented
Platform
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
Skip to main content
Module rich_text
rustmotion_
components
0.8.1
Module rich_
text
Module Items
Structs
In crate rustmotion_
components
rustmotion_components
Module
rich_
text
Copy item path
Source
Structs
§
Rich
Text
Rich text component: renders multiple styled spans on the same line(s).
Rich
Text
Layout
Rich
Text
Line
Rich
Text
Span
A single styled span within a rich_text component.
Rich
Text
Span
Padding
Padding around a pill span’s background box, in px on each side.
left
and
right
grow the token’s advance width, so following spans shift over instead of overlapping the pill.
top
and
bottom
only grow the box — they never change the line’s height.
Rich
Text
Token