CombinedTreeNode
struct · ferroui-diagnostics · v0.5.0
struct CombinedTreeNode
A node of the combined tree.
Members
new_logical
fn new_logical(ferro_object: Ref<FerroObject>, parent: Option<&Rc<TreeNode>>) -> Rc<TreeNode>
The node of an element of the logical tree: its children are the parts of its template, then its logical children; or the node of the top levels of a group.
create
fn create(control: impl Into<Nullable<FerroObject>>) -> Vec<Rc<TreeNode>>
The root node of the combined tree of control, or no node when it is not an object of
the framework.
is_logical_child
fn is_logical_child(element: &Ref<StyledElement>) -> bool
Whether element is a node of the logical tree: it and each of its logical ancestors are
among the logical children of their logical parents, up to the root (an element without a
logical parent). The root of a template has the templated control as its logical parent but
is not among its children, and neither it nor the elements logically below it (the child of
a border of the template) are nodes of the logical tree.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.