diff options
author | 2021-10-28 18:03:24 +0700 | |
---|---|---|
committer | 2021-10-28 18:05:26 +0700 | |
commit | f6257973926233e7bb18ae3b4dee4385bfc6ab61 (patch) | |
tree | b3ee879f35bf2673ca6b524d78293fa1067c50c4 /wgpu | |
parent | d127dbd08ec314e6a2c65961134bdc7b28a1e4aa (diff) | |
download | iced-f6257973926233e7bb18ae3b4dee4385bfc6ab61.tar.gz iced-f6257973926233e7bb18ae3b4dee4385bfc6ab61.tar.bz2 iced-f6257973926233e7bb18ae3b4dee4385bfc6ab61.zip |
Implement `Widget::draw` for `Rule`
Diffstat (limited to 'wgpu')
-rw-r--r-- | wgpu/src/widget/rule.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/wgpu/src/widget/rule.rs b/wgpu/src/widget/rule.rs index 3f7bc67a..40281773 100644 --- a/wgpu/src/widget/rule.rs +++ b/wgpu/src/widget/rule.rs @@ -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_wgpu::Renderer`. -pub type Rule = iced_native::Rule<Renderer>; +pub use iced_graphics::rule::*; |