Type Alias composable::views::Size
pub type Size = Size2D<f32, UnknownUnit>;Available on crate features
unstable and views only.Expand description
Alias for euclid::default::Size2D<f32>.
Aliased Type§
struct Size {
pub width: f32,
pub height: f32,
}Fields§
§width: f32The extent of the element in the U units along the x axis (usually horizontal).
height: f32The extent of the element in the U units along the y axis (usually vertical).