pub struct RouteFinishedObservable { /* private fields */ }Expand description
The stream of notifications raised when a routed event has finished travelling one of its routes (tunnel, bubble or direct).
Implementations§
Source§impl RouteFinishedObservable
impl RouteFinishedObservable
Sourcepub fn subscribe(
&'static self,
handler: impl Fn(&dyn IRoutedEventArgs) + 'static,
) -> Rc<dyn IDisposable>
pub fn subscribe( &'static self, handler: impl Fn(&dyn IRoutedEventArgs) + 'static, ) -> Rc<dyn IDisposable>
Subscribes to the notifications. Disposing the returned handle unsubscribes.
Auto Trait Implementations§
impl !Freeze for RouteFinishedObservable
impl !RefUnwindSafe for RouteFinishedObservable
impl !Send for RouteFinishedObservable
impl !Sync for RouteFinishedObservable
impl !UnwindSafe for RouteFinishedObservable
impl Unpin for RouteFinishedObservable
impl UnsafeUnpin for RouteFinishedObservable
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