Struct alsa::seq::EvQueueControl [] [src]

pub struct EvQueueControl<T> {
    pub queue: i32,
    pub value: T,
}

snd_seq_ev_queue_control_t wrapper

Note: This struct is generic, but what types of T are required for the different EvQueueControl messages is not very well documented in alsa-lib. Right now, Tempo is i32, Tick, SetposTick and SyncPos are u32, SetposTime is time::Duration, and the rest is (). If I guessed wrong, let me know.

Fields

Trait Implementations

impl<T: Copy> Copy for EvQueueControl<T>
[src]

impl<T: Clone> Clone for EvQueueControl<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for EvQueueControl<T>
[src]

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for EvQueueControl<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Eq> Eq for EvQueueControl<T>
[src]

impl<T: Ord> Ord for EvQueueControl<T>
[src]

This method returns an Ordering between self and other. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the maximum of two values. Read more

🔬 This is a nightly-only experimental API. (ord_max_min)

Compares and returns the minimum of two values. Read more

impl<T: PartialOrd> PartialOrd for EvQueueControl<T>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<T: Hash> Hash for EvQueueControl<T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: Default> Default for EvQueueControl<T>
[src]

Returns the "default value" for a type. Read more

impl EventData for EvQueueControl<()>
[src]

impl EventData for EvQueueControl<i32>
[src]

impl EventData for EvQueueControl<u32>
[src]

impl EventData for EvQueueControl<Duration>
[src]