Skip to main content

Crate rustmotion_components

Crate rustmotion_components 

Source

Re-exports§

pub use arrow::Arrow;
pub use audio_spectrum::AudioSpectrum;
pub use avatar::Avatar;
pub use avatar_group::AvatarGroup;
pub use badge::Badge;
pub use callout::Callout;
pub use caption::Caption;
pub use card::Card;
pub use chart::Chart;
pub use codeblock::Codeblock;
pub use comparison::Comparison;
pub use connector::Connector;
pub use container::ContainerComponent;
pub use countdown::Countdown;
pub use counter::Counter;
pub use cursor::Cursor;
pub use divider::Divider;
pub use dot_map::DotMap;
pub use flex::Flex;
pub use gauge::Gauge;
pub use gif::Gif;
pub use gradient_text::GradientText;
pub use grid::Grid;
pub use heatmap::Heatmap;
pub use icon::Icon;
pub use image::Image;
pub use kbd::Kbd;
pub use line::Line;
pub use list::List;
pub use lottie::Lottie;
pub use marquee::Marquee;
pub use mockup::Mockup;
pub use notification::Notification;
pub use number_wheel::NumberWheel;
pub use particle::Particle;
pub use pill_nav::PillNav;
pub use pointer::Pointer;
pub use positioned::Positioned;
pub use progress::Progress;
pub use qrcode::QrCode;
pub use rating::Rating;
pub use rich_text::RichText;
pub use shape::Shape;
pub use skeleton::Skeleton;
pub use slider::Slider;
pub use sparkline::Sparkline;
pub use stat::Stat;
pub use stepper::Stepper;
pub use success_check::SuccessCheck;
pub use svg::Svg;
pub use switch::Switch;
pub use table::Table;
pub use tag_cloud::TagCloud;
pub use terminal::Terminal;
pub use text::Text;
pub use timeline::Timeline;
pub use tooltip::Tooltip;
pub use treemap::Treemap;
pub use video::Video;
pub use waveform::Waveform;

Modules§

arrow
audio_spectrum
avatar
avatar_group
badge
box_builder
Bridge from the Component tree to the new BoxNode tree.
callout
caption
card
chart
codeblock
comparison
connector
container
countdown
counter
cursor
divider
dot_map
flex
gauge
gif
gradient_text
grid
heatmap
icon
image
intrinsic
Intrinsic measurers for components whose box size depends on content.
kbd
legacy_dispatch
Paint dispatcher for the new paint_tree pipeline. Bridges from the taffy-laid-out BoxNode tree back to component-typed Painter impls.
line
list
lottie
marquee
mockup
notification
number_wheel
A rolling-digit counter: each digit column spins through 0-9 like a mechanical odometer reel before landing on its target.
particle
pill_nav
pointer
A simulated mouse pointer — the arrow, plus the ring that pulses out of its tip when it clicks.
positioned
progress
qrcode
rating
rich_text
shape
skeleton
slider
sparkline
stat
stepper
success_check
The confirmation mark: a checkmark drawing itself inside a pale halo, arriving with a small pop and a rotation it resolves as it lands.
svg
switch
table
tag_cloud
terminal
text
timeline
tooltip
treemap
video
waveform
world_bitmap

Structs§

ChildComponent

Enums§

Component
PositionMode

Functions§

is_recognized_position_name
Constat #8: PositionMode::Named(String) accepts any string, but ChildComponent::absolute_position only ever treats the literal "absolute" specially — every other value (including the CSS-legitimate "relative"/"static", which an LLM reasoning in CSS terms naturally reaches for) silently drops x/y: the component is taken out of flow (is_flow() is false for any Some(position)) but never receives an absolute offset either, since only "absolute" is matched. x/y are top-level sibling fields on ChildComponent, not on PositionMode itself, so this can’t detect whether they were actually set — only that, if they were, they are about to be silently ignored. "absolute" stays completely silent (the common, correct case); anything else warns.