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]
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]
collection: C,
index: Property<'a, I>
) -> IndexedProperty<'a, C, I>
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]
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]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> Clone for IndexedProperty<'a, C, I> where
C: Index<I>,
I: Clone + 'a,
<C as Index<I>>::Output: 'a, [src]pub fn clone(&self) -> IndexedProperty<'a, C, I>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[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<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]pub fn to_subset(&self) -> Option<SS>[src]
pub fn is_in_subset(&self) -> bool[src]
pub fn to_subset_unchecked(&self) -> SS[src]
pub fn from_subset(element: &SS) -> SP[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]