pub trait RowScope {
// Required methods
fn align(&self, alignment: VerticalAlignment) -> Modifier;
fn weight(&self, weight: f32, fill: bool) -> Modifier;
}Expand description
Marker trait for Row scope - provides vertical alignment.
Future API - methods will be enabled as alignment and weight modifiers are implemented.
Required Methods§
Sourcefn align(&self, alignment: VerticalAlignment) -> Modifier
fn align(&self, alignment: VerticalAlignment) -> Modifier
Align content vertically within the Row.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".