IBindableList
trait · ferroui-base · v0.5.0
trait IBindableList
Untyped indexed access to a list, for bindings with an indexer in their
path (Items[2]).
Members
count
fn count(self: &Self) -> usize
The number of items.
item_type
fn item_type(self: &Self) -> ValueType
The type of the items.
get_item
fn get_item(self: &Self, index: usize) -> Option<BoxedValue>
The item at index as an untyped value, or None if out of range.
set_item
fn set_item(self: &Self, index: usize, value: &BoxedValue) -> bool
Replaces the item at index. Returns false if the index is out of
range, the list is read-only or the value is of the wrong type.
as_notify_collection_changed
fn as_notify_collection_changed(self: &Self) -> Option<&dyn INotifyCollectionChanged>
The change notifications of the list, if it is a notifying list.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.