masonry 0.4.0

Traits and types of the Masonry toolkit.
Documentation
// Copyright 2025 the Xilem Authors
// SPDX-License-Identifier: Apache-2.0

//! Types and logic commonly used across widgets.
//!
//! See [properties documentation](crate::doc::implementing_container_widget) for details.

mod background;
mod border_color;
mod border_width;
mod box_shadow;
mod checkmark;
mod content_color;
mod corner_radius;
mod line_breaking;
mod object_fit;
mod padding;
mod placeholder_color;
mod progress_bar;
mod selection;
mod slider;

pub mod types;

pub use background::{ActiveBackground, Background, DisabledBackground};
pub use border_color::{BorderColor, HoveredBorderColor};
pub use border_width::BorderWidth;
pub use box_shadow::BoxShadow;
pub use checkmark::{CheckmarkColor, CheckmarkStrokeWidth, DisabledCheckmarkColor};
pub use content_color::{ContentColor, DisabledContentColor};
pub use corner_radius::CornerRadius;
pub use line_breaking::LineBreaking;
pub use object_fit::ObjectFit;
pub use padding::Padding;
pub use placeholder_color::PlaceholderColor;
pub use progress_bar::BarColor;
pub use selection::{CaretColor, SelectionColor, UnfocusedSelectionColor};
pub use slider::{ThumbColor, ThumbRadius, TrackThickness};