pub struct EventOwnerTreeNode { /* private fields */ }Expand description
The node of the type that owns a group of routed events: its children are the nodes of the events, and enabling or disabling it enables or disables all of them.
The part of the deriving class of a node (see
EventTreeNodeKind); the class adds no state of its own.
Implementations§
Source§impl EventOwnerTreeNode
impl EventOwnerTreeNode
Sourcepub fn new(
type_: &'static TypeInfo,
events: impl IntoIterator<Item = RoutedEvent>,
vm: &Weak<EventsPageViewModel>,
) -> Rc<EventTreeNodeBase>
pub fn new( type_: &'static TypeInfo, events: impl IntoIterator<Item = RoutedEvent>, vm: &Weak<EventsPageViewModel>, ) -> Rc<EventTreeNodeBase>
C# new EventOwnerTreeNode(Type type, IEnumerable<RoutedEvent> events, EventsPageViewModel vm):
the node of type_ with a child for each of events, ordered by
name, expanded.
Auto Trait Implementations§
impl Freeze for EventOwnerTreeNode
impl RefUnwindSafe for EventOwnerTreeNode
impl Send for EventOwnerTreeNode
impl Sync for EventOwnerTreeNode
impl Unpin for EventOwnerTreeNode
impl UnsafeUnpin for EventOwnerTreeNode
impl UnwindSafe for EventOwnerTreeNode
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