Implement Widget::draw for Rule

This commit is contained in:
Héctor Ramón Jiménez 2021-10-28 18:03:24 +07:00
parent d127dbd08e
commit f625797392
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
5 changed files with 66 additions and 57 deletions

View file

@ -1,10 +1,3 @@
//! Display a horizontal or vertical rule for dividing content.
use crate::Renderer;
pub use iced_graphics::rule::{FillMode, Style, StyleSheet};
/// Display a horizontal or vertical rule for dividing content.
///
/// This is an alias of an `iced_native` rule with an `iced_glow::Renderer`.
pub type Rule = iced_native::Rule<Renderer>;
pub use iced_graphics::rule::*;