[][src]Struct orbtk::prelude::api::ColumnsBuilder

pub struct ColumnsBuilder { /* fields omitted */ }

Used to build a columns, specifying additional details.

Methods

impl ColumnsBuilder[src]

Used to build a columns, specifying additional details.

pub fn new() -> ColumnsBuilder[src]

Creates a new ColumnsBuilder with default values.

pub fn column<C>(self, column: C) -> ColumnsBuilder where
    C: Into<Column>, 
[src]

Inserts a new column.

pub fn columns<R>(self, columns: &[R]) -> ColumnsBuilder where
    R: Clone + Into<Column>, 
[src]

Inserts a list of columns.

pub fn repeat<R>(self, column: R, count: usize) -> ColumnsBuilder where
    R: Copy + Into<Column>, 
[src]

Inserts the given column as often as given.

pub fn build(self) -> Columns[src]

Builds the columns.

Trait Implementations

impl Default for ColumnsBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

impl<E> Component for E where
    E: Any
[src]

impl<T> SetParameter for T