pub enum EventTreeNodeKind {
Owner(EventOwnerTreeNode),
Event(EventTreeNode),
}Expand description
What the deriving class of a node adds to it: the owner of a group of
routed events (EventOwnerTreeNode) or one routed event
(EventTreeNode).
Upstream the node is an abstract class with these two deriving classes,
whose IsEnabled overrides the virtual property of the base. In the port
a node is one shared type, EventTreeNodeBase, that carries the part of
its deriving class: the tree of the events page holds one model type
(its cell template is typed with the base class), and the type tests of
the original (node is EventTreeNode eventNode) are the hooks
EventTreeNodeBase::as_event_tree_node and
EventTreeNodeBase::as_event_owner_tree_node.
Variants§
Owner(EventOwnerTreeNode)
A node of an EventOwnerTreeNode.
Event(EventTreeNode)
A node of an EventTreeNode.
Auto Trait Implementations§
impl !Freeze for EventTreeNodeKind
impl !RefUnwindSafe for EventTreeNodeKind
impl !Send for EventTreeNodeKind
impl !Sync for EventTreeNodeKind
impl !UnwindSafe for EventTreeNodeKind
impl Unpin for EventTreeNodeKind
impl UnsafeUnpin for EventTreeNodeKind
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