widget Rule added

This commit is contained in:
Billy Messenger 2020-08-13 12:54:34 -05:00 committed by Héctor Ramón Jiménez
parent 00d66da0ce
commit 8d68c8584e
12 changed files with 331 additions and 8 deletions

10
wgpu/src/widget/rule.rs Normal file
View file

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