pub fn vertical_rule<'a, Theme>(width: impl Into<Pixels>) -> Rule<'a, Theme>where Theme: Catalog + 'a,
Creates a vertical Rule with the given width.
Rule
use iced::widget::vertical_rule; #[derive(Clone)] enum Message { // ..., } fn view(state: &State) -> Element<'_, Message> { vertical_rule(2).into() }