Trait QueueTimerAlsaExt

Source
pub trait QueueTimerAlsaExt:
    IsA<QueueTimerAlsa>
    + Sealed
    + 'static {
    // Provided methods
    fn device_id(&self) -> Option<DeviceId> { ... }
    fn set_device_id(&self, device_id: Option<&DeviceId>) { ... }
    fn resolution_ticks(&self) -> u32 { ... }
    fn set_resolution_ticks(&self, resolution_ticks: u32) { ... }
    fn connect_device_id_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_resolution_ticks_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all QueueTimerAlsa methods.

§Implementors

QueueTimerAlsa

Provided Methods§

Source

fn device_id(&self) -> Option<DeviceId>

The identifier of associated timer instance in ALSA Timer.

Source

fn set_device_id(&self, device_id: Option<&DeviceId>)

The identifier of associated timer instance in ALSA Timer.

Source

fn resolution_ticks(&self) -> u32

The number of ticks as resolution of timer.

Source

fn set_resolution_ticks(&self, resolution_ticks: u32)

The number of ticks as resolution of timer.

Source

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

Source

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

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§