Type Alias cosmic::widget::column::Column

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

Aliased Type§

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

Trait Implementations§

source§

impl<'a, Message: 'a> CollectionWidget<'a, Message> for Column<'a, Message>

source§

fn append<E>(self, other: &mut Vec<E>) -> Self
where E: Into<Element<'a, Message>>,

Moves all the elements of other into self, leaving other empty.
source§

fn push(self, element: impl Into<Element<'a, Message>>) -> Self

Pushes an element into the widget.
source§

fn extend<E>(self, iterator: impl Iterator<Item = E>) -> Self
where E: Into<Element<'a, Message>>,

Appends all elements in an iterator to the widget.
source§

fn push_maybe(self, element: Option<impl Into<Element<'a, Message>>>) -> Self

Conditionally pushes an element to the widget.