pub enum TreeNodeKind {
Logical,
Visual {
is_in_template: bool,
},
Combined {
visual_only: bool,
},
}Expand description
The class of a TreeNode: the abstract node of the original is
derived by LogicalTreeNode and
VisualTreeNode, whose constructors make nodes
of this type with the members they add.
Variants§
Logical
A node of the logical tree (LogicalTreeNode).
Visual
A node of the visual tree (VisualTreeNode), with its IsInTemplate.
Combined
A node of the combined tree (an addition of the port, combined_tree_node.rs): an element
of the logical tree, or a part of a template (visual_only), shown greyed out.
Trait Implementations§
Source§impl Clone for TreeNodeKind
impl Clone for TreeNodeKind
impl Copy for TreeNodeKind
Source§impl Debug for TreeNodeKind
impl Debug for TreeNodeKind
impl Eq for TreeNodeKind
Source§impl PartialEq for TreeNodeKind
impl PartialEq for TreeNodeKind
impl StructuralPartialEq for TreeNodeKind
Auto Trait Implementations§
impl Freeze for TreeNodeKind
impl RefUnwindSafe for TreeNodeKind
impl Send for TreeNodeKind
impl Sync for TreeNodeKind
impl Unpin for TreeNodeKind
impl UnsafeUnpin for TreeNodeKind
impl UnwindSafe for TreeNodeKind
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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