pub struct MarkupEvent {
pub name: &'static str,
pub arguments: &'static [TypeOf],
pub add: MarkupInvoke,
}Expand description
An event that is not a routed event: handlers are attached through
add.
Fields§
§name: &'static str§arguments: &'static [TypeOf]The types of the arguments the event passes to its handlers (sender first, where the event has one).
add: MarkupInvokeSubscribes a handler: (instance, handler), where the handler is a
MarkupDelegate called with the event arguments in untyped form.
Trait Implementations§
Source§impl Clone for MarkupEvent
impl Clone for MarkupEvent
impl Copy for MarkupEvent
Auto Trait Implementations§
impl Freeze for MarkupEvent
impl RefUnwindSafe for MarkupEvent
impl Send for MarkupEvent
impl Sync for MarkupEvent
impl Unpin for MarkupEvent
impl UnsafeUnpin for MarkupEvent
impl UnwindSafe for MarkupEvent
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