Skip to main content

RowScope

Trait RowScope 

Source
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§

Source

fn align(&self, alignment: VerticalAlignment) -> Modifier

Align content vertically within the Row.

Source

fn weight(&self, weight: f32, fill: bool) -> Modifier

Apply weight to distribute remaining space proportionally.

Implementors§