Make Element aliases in iced compatible with iced_native and iced_pure
This commit is contained in:
parent
48bc505cb6
commit
4407385fbe
4 changed files with 15 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/// A generic widget.
|
||||
///
|
||||
/// This is an alias of an `iced_native` element with a default `Renderer`.
|
||||
pub type Element<'a, Message, Theme = iced_native::Theme> =
|
||||
crate::runtime::Element<'a, Message, crate::Renderer<Theme>>;
|
||||
pub type Element<'a, Message, Renderer = crate::Renderer<crate::Theme>> =
|
||||
crate::runtime::Element<'a, Message, Renderer>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue