Trait gio::prelude::ListModelExtManual
source · [−]pub trait ListModelExtManual: Sized {
fn snapshot(&self) -> Vec<Object>;
fn iter<T: IsA<Object>>(
&self
) -> Result<ListModelIter<'_, T>, ListModelItemsTypeErr>;
}
Required Methods
Get an immutable snapshot of the container inside the ListModel
.
Any modification done to the returned container Vec
will not be
reflected on the ListModel
.