[−][src]Struct orbtk_api::properties::Rows
Helper struct used inside of the row Property.
Implementations
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 a row.
pub fn get_mut(&mut self, row: usize) -> Option<&mut Row>
[src]
Returns a mutable reference to a 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 Clone for Rows
[src]
impl Debug for Rows
[src]
impl Default for Rows
[src]
impl From<RowsBuilder> for Rows
[src]
fn from(builder: RowsBuilder) -> Self
[src]
impl IntoPropertySource<Rows> for Rows
[src]
fn into_source(self) -> PropertySource<Rows>
[src]
impl IntoPropertySource<Rows> for Entity
[src]
fn into_source(self) -> PropertySource<Rows>
[src]
impl IntoPropertySource<Rows> for (String, Entity)
[src]
fn into_source(self) -> PropertySource<Rows>
[src]
impl<'_> IntoPropertySource<Rows> for (&'_ str, Entity)
[src]
fn into_source(self) -> PropertySource<Rows>
[src]
impl IntoPropertySource<Rows> for RowsBuilder
[src]
fn into_source(self) -> PropertySource<Rows>
[src]
impl PartialEq<Rows> for Rows
[src]
impl StructuralPartialEq for Rows
[src]
Auto Trait Implementations
impl RefUnwindSafe for Rows
impl Send for Rows
impl Sync for Rows
impl Unpin for Rows
impl UnwindSafe for Rows
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Component for E where
E: Any,
[src]
E: Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,