Skip to main content

Module traits

Module traits 

Source

Re-exports§

pub use animatable::Animatable;
pub use backgrounded::Backgrounded;
pub use backgrounded::BackgroundedMut;
pub use bordered::Border;
pub use bordered::Bordered;
pub use bordered::BorderedMut;
pub use clipped::Clipped;
pub use container::Align;
pub use container::Direction;
pub use container::Justify;
pub use painter::AvailableSize;
pub use painter::MeasureCtx;
pub use painter::PaintCtx;
pub use painter::Painter;
pub use rounded::Rounded;
pub use rounded::RoundedMut;
pub use shadowed::Shadow;
pub use shadowed::Shadowed;
pub use shadowed::ShadowedMut;
pub use styled::Styled;
pub use styled::StyledMut;
pub use timed::Timed;
pub use timed::TimingConfig;

Modules§

animatable
backgrounded
bordered
clipped
container
painter
Painter trait — replaces the old Widget::render. A component implements Painter to draw its content onto a Skia canvas. Box decorations (background, border, shadow) are handled generically by the paint pass.
rounded
shadowed
styled
timed