Type Alias cosmic::iced::Element

source ·
pub type Element<'a, Message, Theme = Theme, Renderer = Renderer> = Element<'a, Message, Theme, Renderer>;
Expand description

A generic widget.

This is an alias of an iced_native element with a default Renderer.

Aliased Type§

struct Element<'a, Message, Theme = Theme, Renderer = Renderer> { /* private fields */ }

Trait Implementations§

source§

impl<'a, Message> From<ColorPicker<'a, Message>> for Element<'a, Message, Theme, Renderer>
where Message: 'static + Clone,

source§

fn from( picker: ColorPicker<'a, Message>, ) -> Element<'a, Message, Theme, Renderer>

Converts to this type from the input type.