pub struct VisualTreeNode;Expand description
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.
Implementations§
Source§impl VisualTreeNode
impl VisualTreeNode
Sourcepub fn new(
ferro_object: Ref<FerroObject>,
parent: Option<&Rc<TreeNode>>,
custom_name: Option<String>,
) -> Rc<TreeNode>
pub 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.
Auto Trait Implementations§
impl Freeze for VisualTreeNode
impl RefUnwindSafe for VisualTreeNode
impl Send for VisualTreeNode
impl Sync for VisualTreeNode
impl Unpin for VisualTreeNode
impl UnsafeUnpin for VisualTreeNode
impl UnwindSafe for VisualTreeNode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more