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

pub struct Rows(_);

Helper struct used inside of the row Property.

Methods

impl Rows[src]

pub fn create() -> RowsBuilder[src]

Creates a new RowsBuilder object with default values.

pub fn len(&self) -> usize[src]

Returns the number of elements in the rows list, also referred to as its 'length'.

pub fn is_empty(&self) -> bool[src]

Is the row empty?

pub fn get(&self, row: usize) -> Option<&Row>[src]

Returns a reference to an row.

pub fn get_mut(&mut self, row: usize) -> Option<&mut Row>[src]

Returns a mutable reference to an row.

pub fn iter(&self) -> Iter<Row>[src]

Returns an iterator over the slice.

pub fn iter_mut(&mut self) -> IterMut<Row>[src]

Returns a mutable iterator over the slice.

Trait Implementations

impl Debug for Rows[src]

impl PartialEq<Rows> for Rows[src]

impl Default for Rows[src]

impl IntoPropertySource<Rows> for (String, Entity)[src]

impl IntoPropertySource<Rows> for Rows[src]

impl IntoPropertySource<Rows> for Entity[src]

impl<'_> IntoPropertySource<Rows> for (&'_ str, Entity)[src]

impl StructuralPartialEq for Rows[src]

impl Clone for Rows[src]

Auto Trait Implementations

impl Send for Rows

impl Sync for Rows

impl Unpin for Rows

impl UnwindSafe for Rows

impl RefUnwindSafe for Rows

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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