Struct rin::events::IndexedProperty[][src]

pub struct IndexedProperty<'a, C, I> where
    C: Index<I>,
    I: Clone + 'a,
    <C as Index<I>>::Output: 'a, 
{ /* fields omitted */ }

Implementations

impl<'a, C, I> IndexedProperty<'a, C, I> where
    C: Index<I> + 'a,
    I: Clone + 'a,
    <C as Index<I>>::Output: 'a, 
[src]

pub fn new(collection: C, initial_index: I) -> IndexedProperty<'a, C, I>[src]

pub fn from_index_property(
    collection: C,
    index: Property<'a, I>
) -> IndexedProperty<'a, C, I>
[src]

pub fn get(&self) -> &<C as Index<I>>::Output[src]

pub fn current_index(&self) -> I[src]

pub fn set(&mut self, index: I)[src]

pub fn collection(&self) -> &C[src]

pub fn index_property(&self) -> &Property<'a, I>[src]

pub fn index_property_mut(&mut self) -> &mut Property<'a, I>[src]

impl<'a, C, I> IndexedProperty<'a, C, I> where
    C: Index<I> + 'a,
    I: Clone + 'a,
    <C as Index<I>>::Output: Clone,
    <C as Index<I>>::Output: 'a, 
[src]

pub fn try_iter<'b>(self) -> TryIter<'b, <C as Index<I>>::Output>

Notable traits for TryIter<'a, T>

impl<'a, T> Iterator for TryIter<'a, T> type Item = T;
where
    'a: 'b, 
[src]

pub fn to_parameter<'b>(self) -> Parameter<'b, <C as Index<I>>::Output> where
    'a: 'b, 
[src]

pub fn into_property(self) -> Property<'a, <C as Index<I>>::Output>[src]

Trait Implementations

impl<'a, C, I> Clone for IndexedProperty<'a, C, I> where
    C: Index<I>,
    I: Clone + 'a,
    <C as Index<I>>::Output: 'a, 
[src]

impl<'a, C, I> Default for IndexedProperty<'a, C, I> where
    C: Default + Index<I>,
    I: Default + Clone + 'a,
    <C as Index<I>>::Output: 'a, 
[src]

Auto Trait Implementations

impl<'a, C, I> !RefUnwindSafe for IndexedProperty<'a, C, I>

impl<'a, C, I> !Send for IndexedProperty<'a, C, I>

impl<'a, C, I> !Sync for IndexedProperty<'a, C, I>

impl<'a, C, I> Unpin for IndexedProperty<'a, C, I>

impl<'a, C, I> !UnwindSafe for IndexedProperty<'a, C, I>

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> Downcast for T where
    T: Any
[src]

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

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

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]