IBindableArray
trait · ferroui-base · v0.5.0
trait IBindableArray
Untyped access to an array: a fixed-size collection accessed with integer indexes, one per dimension.
Members
rank
fn rank(self: &Self) -> usize
The number of dimensions.
element_type
fn element_type(self: &Self) -> ValueType
The type of the elements.
get_value
fn get_value(self: &Self, indexes: &[i32]) -> Result<Option<BoxedValue>, BindingError>
The element at indexes.
set_value
fn set_value(self: &Self, indexes: &[i32], value: Option<&BoxedValue>) -> Result<(), BindingError>
Replaces the element at indexes.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.