[][src]Struct pixel_widgets::widget::row::Row

pub struct Row<'a, T> { /* fields omitted */ }

Layout child widgets horizontally

Implementations

impl<'a, T: 'a> Row<'a, T>[src]

pub fn new() -> Self[src]

Construct a new Row

pub fn push<I: IntoNode<'a, T> + 'a>(self, item: I) -> Self[src]

Adds a child widget to the row

pub fn extend<I: IntoIterator<Item = N>, N: IntoNode<'a, T> + 'a>(
    self,
    iter: I
) -> Self
[src]

Adds child widgets using an iterator

Trait Implementations

impl<'a, T: 'a> IntoNode<'a, T> for Row<'a, T>[src]

impl<'a, T: 'a> Widget<'a, T> for Row<'a, T>[src]

Auto Trait Implementations

impl<'a, T> !RefUnwindSafe for Row<'a, T>[src]

impl<'a, T> Send for Row<'a, T>[src]

impl<'a, T> !Sync for Row<'a, T>[src]

impl<'a, T> Unpin for Row<'a, T>[src]

impl<'a, T> !UnwindSafe for Row<'a, T>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.