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).
Members
create_fromcreate_from_group_and_item_indexcreate_from_indicesget_sizeget_atcompare_tois_validis_emptyas_sliceclone_with_child_index
create_from
fn create_from(index: i32) -> Self
create_from_group_and_item_index
fn create_from_group_and_item_index(group_index: i32, item_index: i32) -> Self
create_from_indices
fn create_from_indices(indices: impl IntoIterator<Item = i32>) -> Self
get_size
fn get_size(self: &Self) -> i32
get_at
fn get_at(self: &Self, index: i32) -> Result<i32, SelectionError>
compare_to
fn compare_to(self: &Self, other: &Self) -> i32
is_valid
fn is_valid(self: &Self) -> bool
is_empty
fn is_empty(self: &Self) -> bool
as_slice
fn as_slice(self: &Self) -> &[i32]
clone_with_child_index
fn clone_with_child_index(self: &Self, child_index: i32) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDefaultStructuralPartialEqPartialEqEqPartialOrdOrdHashFrom<i32>From<&[i32]>DisplayDebugMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.