FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    VisualTreeNode

    struct · ferroui-diagnostics · v0.5.0

    struct VisualTreeNode
    

    A node of the visual tree.

    The original derives the node class from TreeNode; here a visual tree node is a TreeNode of the kind TreeNodeKind::Visual, made by the functions of this type.

    View source

    Members

    new

    fn new(ferro_object: Ref<FerroObject>, parent: Option<&Rc<TreeNode>>, custom_name: Option<String>) -> Rc<TreeNode>
    

    VisualTreeNode(FerroObject ferroObject, TreeNode? parent, string? customName = null): the node of an object of the visual tree, whose children are the visual children of the visual and the root of the popup it hosts, or the top levels of an application.

    Source

    create

    fn create(control: impl Into<Nullable<FerroObject>>) -> Vec<Rc<TreeNode>>
    

    Create(object control): the root node of the visual tree of control, or no node when it is not an object of the framework.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither

    Availability

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