cosmic

Type Alias Element

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

Aliased Type§

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

Trait Implementations§

source§

impl<'a, Message: 'static> ElementExt for Element<'a, Message>

source§

fn debug(self, debug: bool) -> Self

source§

impl<'a, Message: Clone + 'static> From<Builder<'a, Message, Hyperlink>> for Element<'a, Message>

source§

fn from(builder: Button<'a, Message>) -> Element<'a, Message>

Converts to this type from the input type.
source§

impl<'a, Message: Clone + 'static> From<Builder<'a, Message, Icon>> for Element<'a, Message>

source§

fn from(builder: Button<'a, Message>) -> Element<'a, Message>

Converts to this type from the input type.
source§

impl<'a, Message> From<Builder<'a, Message, Image<'a, Handle, Message>>> for Element<'a, Message>
where Handle: Clone + Hash, Message: Clone + 'static,

source§

fn from(builder: Button<'a, Message>) -> Element<'a, Message>

Converts to this type from the input type.
source§

impl<'a, Message: Clone + 'static> From<Builder<'a, Message, Text>> for Element<'a, Message>

source§

fn from(builder: Button<'a, Message>) -> Element<'a, Message>

Converts to this type from the input type.
source§

impl<'a, Message: Clone + 'a> From<Button<'a, Message>> for Element<'a, Message>

source§

fn from(button: Button<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message> From<Calendar<'a, Message>> for Element<'a, Message>
where Message: Clone + 'static,

source§

fn from(this: Calendar<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'a + Clone> From<ContextDrawer<'a, Message>> for Element<'a, Message>

source§

fn from(widget: ContextDrawer<'a, Message>) -> Element<'a, Message>

Converts to this type from the input type.
source§

impl<'a, Message: Clone + 'a> From<ContextMenu<'a, Message>> for Element<'a, Message>

source§

fn from(widget: ContextMenu<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: Clone + 'static> From<Dialog<'a, Message>> for Element<'a, Message>

source§

fn from(dialog: Dialog<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'static> From<DndDestination<'a, Message>> for Element<'a, Message>

source§

fn from(wrapper: DndDestination<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: Clone + 'static, D: AsMimeTypes + Send + 'static> From<DndSource<'a, Message, D>> for Element<'a, Message>

source§

fn from(e: DndSource<'a, Message, D>) -> Element<'a, Message>

Converts to this type from the input type.
source§

impl<'a, S: AsRef<str>, Message: 'a> From<Dropdown<'a, S, Message>> for Element<'a, Message>

source§

fn from(pick_list: Dropdown<'a, S, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, S: AsRef<str>, Message: 'a, Item: Clone + PartialEq + 'static> From<Dropdown<'a, S, Message, Item>> for Element<'a, Message>

source§

fn from(pick_list: Dropdown<'a, S, Message, Item>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'static + Clone> From<FlexRow<'a, Message>> for Element<'a, Message>

source§

fn from(flex_row: FlexRow<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'static + Clone> From<Grid<'a, Message>> for Element<'a, Message>

source§

fn from(flex_row: Grid<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: Clone + 'static> From<HeaderBar<'a, Message>> for Element<'a, Message>

source§

fn from(headerbar: HeaderBar<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'a> From<Icon> for Element<'a, Message>

source§

fn from(icon: Icon) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'static> From<ListColumn<'a, Message>> for Element<'a, Message>

source§

fn from(column: ListColumn<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'static> From<Named> for Element<'a, Message>

source§

fn from(builder: Named) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: Clone + 'static> From<NavBar<'a, Message>> for Element<'a, Message>

source§

fn from(this: NavBar<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'static + Clone> From<NavBarToggle<Message>> for Element<'a, Message>

source§

fn from(nav_bar_toggle: NavBarToggle<Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'static> From<Section<'a, Message>> for Element<'a, Message>

source§

fn from(data: Section<'a, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Variant, SelectionMode, Message> From<SegmentedButton<'a, Variant, SelectionMode, Message>> for Element<'a, Message>
where SegmentedButton<'a, Variant, SelectionMode, Message>: SegmentedVariant, Variant: 'static, Model<SelectionMode>: Selectable, SelectionMode: Default, Message: 'static + Clone,

source§

fn from(widget: SegmentedButton<'a, Variant, SelectionMode, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, T, Message> From<SpinButton<'a, T, Message>> for Element<'a, Message>
where Message: Clone + 'static, T: Copy + Sub<Output = T> + Add<Output = T> + PartialOrd,

source§

fn from(this: SpinButton<'a, T, Message>) -> Self

Converts to this type from the input type.
source§

impl<'a, Message: 'static + Clone> From<Warning<'a, Message>> for Element<'a, Message>

source§

fn from(warning: Warning<'a, Message>) -> Self

Converts to this type from the input type.