Module cosmic::iced_widget::rule
source · Expand description
Rules divide space horizontally or vertically.
§Example
use iced::widget::horizontal_rule;
#[derive(Clone)]
enum Message {
// ...,
}
fn view(state: &State) -> Element<'_, Message> {
horizontal_rule(2).into()
}
Structs§
- Display a horizontal or vertical rule for dividing content.
- The appearance of a rule.
Enums§
- The fill mode of a rule.
Traits§
- The theme catalog of a
Rule
.
Functions§
- The default styling of a
Rule
.
Type Aliases§
- A styling function for a
Rule
.