Trait QuadletNotificationExt

Source
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

QuadletNotification, SndDice, SndDigi00x, SndMotu

Provided Methods§

Source

fn connect_notified<F: Fn(&Self, u32) + 'static>(&self, f: F) -> SignalHandlerId

Emitted when the target unit transfers notification.

§message

A quadlet message in notification.

Source

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.

Implementors§