pub trait QuadletNotificationExt:
IsA<QuadletNotification>
+ Sealed
+ 'static {
// Provided methods
fn connect_notified<F: Fn(&Self, u32) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn emit_notified(&self, message: u32) { ... }
}Expand description
Trait containing all QuadletNotification methods.
§Implementors
Provided Methods§
Sourcefn connect_notified<F: Fn(&Self, u32) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_notified<F: Fn(&Self, u32) + 'static>(&self, f: F) -> SignalHandlerId
fn emit_notified(&self, message: u32)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.