pub struct RepeaterTracker<T: RepeatedItemTree> { /* private fields */ }
Expand description
This struct is put in a component when using the for
syntax
It helps instantiating the ItemTree T
Trait Implementations§
Source§impl<C: RepeatedItemTree> Default for RepeaterTracker<C>
impl<C: RepeatedItemTree> Default for RepeaterTracker<C>
Source§impl<T: RepeatedItemTree> ModelChangeListener for RepeaterTracker<T>
impl<T: RepeatedItemTree> ModelChangeListener for RepeaterTracker<T>
Source§fn row_changed(self: Pin<&Self>, row: usize)
fn row_changed(self: Pin<&Self>, row: usize)
Notify the peers that a specific row was changed
Source§fn row_added(self: Pin<&Self>, index: usize, count: usize)
fn row_added(self: Pin<&Self>, index: usize, count: usize)
Notify the peers that rows were added
Source§fn row_removed(self: Pin<&Self>, index: usize, count: usize)
fn row_removed(self: Pin<&Self>, index: usize, count: usize)
Notify the peers that rows were removed
fn reset(self: Pin<&Self>)
impl<'pin, T: RepeatedItemTree> Unpin for RepeaterTracker<T>where
PinnedFieldsOf<__RepeaterTracker<'pin, T>>: Unpin,
Auto Trait Implementations§
impl<T> !Freeze for RepeaterTracker<T>
impl<T> !RefUnwindSafe for RepeaterTracker<T>
impl<T> !Send for RepeaterTracker<T>
impl<T> !Sync for RepeaterTracker<T>
impl<T> !UnwindSafe for RepeaterTracker<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more