Function right

Source
pub fn right<'a, Message, Theme, Renderer>(
    content: impl Into<Element<'a, Message, Theme, Renderer>>,
) -> Container<'a, Message, Theme, Renderer>
where Theme: Catalog + 'a, Renderer: Renderer,
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);