FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IAddChild

    trait · ferroui-base · v0.5.0

    trait IAddChild<T>
    

    Defines a method for adding a child of type T to an object: what markup calls for each child element of an element whose type implements it.

    View source

    Members

    add_child

    fn add_child(self: &Self, child: T)
    

    Adds a child.

    Source

    reference_id

    fn reference_id(self: &Self) -> usize
    

    Identifies the object children are added to. Handles are equal when they add to the same object; an adapter that implements the contract for an object behind a class handle returns the address of that object, so that two handles made from the same object are equal.

    Source

    Availability

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