FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IndexPath

    struct · ferroui-controls-repeater · v0.5.0

    struct IndexPath
    

    An immutable path from the source root. Display uses the upstream R.0.1 notation.

    A path may store a negative component, as upstream constructors do; selection operations validate it. An empty path denotes the root, not an unselected item (None denotes that).

    View source

    Members

    create_from

    fn create_from(index: i32) -> Self
    

    Source

    create_from_group_and_item_index

    fn create_from_group_and_item_index(group_index: i32, item_index: i32) -> Self
    

    Source

    create_from_indices

    fn create_from_indices(indices: impl IntoIterator<Item = i32>) -> Self
    

    Source

    get_size

    fn get_size(self: &Self) -> i32
    

    Source

    get_at

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

    Source

    compare_to

    fn compare_to(self: &Self, other: &Self) -> i32
    

    Source

    is_valid

    fn is_valid(self: &Self) -> bool
    

    Source

    is_empty

    fn is_empty(self: &Self) -> bool
    

    Source

    as_slice

    fn as_slice(self: &Self) -> &[i32]
    

    Source

    clone_with_child_index

    fn clone_with_child_index(self: &Self, child_index: i32) -> Self
    

    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
    • ToString
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq
    • PartialOrd
    • Ord
    • Hash
    • From<i32>
    • From<&[i32]>
    • Display
    • Debug
    • MarkupTyped

    Availability

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