cosmic::iced_widgetFunction vertical_rule
source pub fn vertical_rule<'a, Theme>(width: impl Into<Pixels>) -> Rule<'a, Theme>
Expand description
Creates a vertical Rule
with the given width.
ยงExample
use iced::widget::vertical_rule;
#[derive(Clone)]
enum Message {
}
fn view(state: &State) -> Element<'_, Message> {
vertical_rule(2).into()
}