Skip to main content

right

Function right 

Source
pub fn right<'a, W, Theme>(content: W) -> Container<'a, W, Theme>
where Theme: Catalog + 'a,
Expand description

Creates a new Container that fills all the available space horizontally and right-aligns its contents inside.

This is equivalent to:

let right = container("Right!").align_right(Fill);