SelectedItems
struct · ferroui-controls-repeater · v0.5.0
struct SelectedItems<T>
A lazy, shared, read-only view over selected nodes. No array of selected items is copied. Nodes are weakly held, so a view does not retain an old source tree after a reset.
Members
count
fn count(self: &Self) -> usize
is_empty
fn is_empty(self: &Self) -> bool
get_at
fn get_at(self: &Self, index: usize) -> Result<T, SelectionError>
iter
fn iter(self: &Self) -> SelectedItemsIter<T>
to_vec
fn to_vec(self: &Self) -> Result<Vec<T>, SelectionError>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherClonePartialEqIItemsList
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.