pub struct ObservableVectorTransactionEntries<'a, 'o, T: Clone> { /* private fields */ }
Expand description
An “iterator“¹ that yields entries into an ObservableVector
, obtained
from a transaction.
¹ conceptually, though it does not implement std::iterator::Iterator
Implementations§
Source§impl<'a, 'o, T> ObservableVectorTransactionEntries<'a, 'o, T>where
T: Clone + 'static,
impl<'a, 'o, T> ObservableVectorTransactionEntries<'a, 'o, T>where
T: Clone + 'static,
Sourcepub fn next(&mut self) -> Option<ObservableVectorTransactionEntry<'_, 'o, T>>
pub fn next(&mut self) -> Option<ObservableVectorTransactionEntry<'_, 'o, T>>
Advance this iterator, yielding an ObservableVectorEntry
for the next
item in the vector, or None
if all items have been visited.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'o, T> Freeze for ObservableVectorTransactionEntries<'a, 'o, T>
impl<'a, 'o, T> RefUnwindSafe for ObservableVectorTransactionEntries<'a, 'o, T>where
T: RefUnwindSafe,
impl<'a, 'o, T> Send for ObservableVectorTransactionEntries<'a, 'o, T>
impl<'a, 'o, T> Sync for ObservableVectorTransactionEntries<'a, 'o, T>
impl<'a, 'o, T> Unpin for ObservableVectorTransactionEntries<'a, 'o, T>
impl<'a, 'o, T> !UnwindSafe for ObservableVectorTransactionEntries<'a, 'o, 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