FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    count

    fn count(self: &Self) -> usize
    

    Source

    is_empty

    fn is_empty(self: &Self) -> bool
    

    Source

    get_at

    fn get_at(self: &Self, index: usize) -> Result<T, SelectionError>
    

    Source

    iter

    fn iter(self: &Self) -> SelectedItemsIter<T>
    

    Source

    to_vec

    fn to_vec(self: &Self) -> Result<Vec<T>, SelectionError>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • PartialEq
    • IItemsList

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.