[][src]Struct orbtk_api::properties::RowsBuilder

pub struct RowsBuilder { /* fields omitted */ }

Implementations

impl RowsBuilder[src]

Used to build a rows, specifying additional details.

pub fn new() -> Self[src]

Creates a new RowsBuilder with default values.

pub fn push<R: Into<Row>>(self, row: R) -> Self[src]

Inserts a new row.

pub fn row<R: Into<Row>>(self, row: R) -> Self[src]

👎 Deprecated:

Use push instead

Inserts a new row.

pub fn rows<R: Into<Row> + Clone>(self, rows: &[R]) -> Self[src]

Inserts a list of rows.

pub fn repeat<R: Into<Row> + Copy>(self, row: R, count: usize) -> Self[src]

Inserts the given row as often as given.

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

Builds the rows.

Trait Implementations

impl Default for RowsBuilder[src]

impl From<RowsBuilder> for Rows[src]

impl IntoPropertySource<Rows> for RowsBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> SetParameter for T

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<V, T> VZip<V> for T where
    V: MultiLane<T>,