FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeNodeCollectionImpl

    trait · ferroui-diagnostics · v0.5.0

    trait TreeNodeCollectionImpl
    

    The members a kind of TreeNodeCollection overrides: the abstract Initialize and the virtual Dispose of the original.

    View source

    Members

    initialize

    fn initialize(self: &Self, this: &TreeNodeCollection, nodes: &FerroList<Rc<TreeNode>>)
    

    protected abstract void Initialize(FerroList<TreeNode> nodes): fills nodes and keeps them up to date. Called once, when the collection is first used.

    Source

    dispose

    fn dispose(self: &Self, this: &TreeNodeCollection)
    

    public virtual void Dispose(). The base implementation disposes the nodes (TreeNodeCollection::base_dispose); an override calls it where the original calls base.Dispose().

    Source

    Trait implementations

    Availability

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