FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    rank

    fn rank(self: &Self) -> usize
    

    The number of dimensions.

    Source

    element_type

    fn element_type(self: &Self) -> ValueType
    

    The type of the elements.

    Source

    get_value

    fn get_value(self: &Self, indexes: &[i32]) -> Result<Option<BoxedValue>, BindingError>
    

    The element at indexes.

    Source

    set_value

    fn set_value(self: &Self, indexes: &[i32], value: Option<&BoxedValue>) -> Result<(), BindingError>
    

    Replaces the element at indexes.

    Source

    Trait implementations

    Availability

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