summaryrefslogblamecommitdiffstats
path: root/src/element.rs
blob: e75046151db584b6375607e0f23dab1fb0bffe77 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                                           
                                                           


                              
/// A generic widget.
///
/// This is an alias of an `iced_native` element with a default `Renderer`.
#[cfg(not(target_arch = "wasm32"))]
pub type Element<'a, Message> =
    iced_glutin::Element<'a, Message, iced_glow::Renderer>;

#[cfg(target_arch = "wasm32")]
pub use iced_web::Element;