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
queue: i32
value: T
Trait Implementations
impl<T: Copy> Copy for EvQueueControl<T>
[src]
impl<T: Clone> Clone for EvQueueControl<T>
[src]
fn clone(&self) -> EvQueueControl<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for EvQueueControl<T>
[src]
impl<T: PartialEq> PartialEq for EvQueueControl<T>
[src]
fn eq(&self, __arg_0: &EvQueueControl<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EvQueueControl<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for EvQueueControl<T>
[src]
impl<T: Ord> Ord for EvQueueControl<T>
[src]
fn cmp(&self, __arg_0: &EvQueueControl<T>) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
ord_max_min
)Compares and returns the minimum of two values. Read more
impl<T: PartialOrd> PartialOrd for EvQueueControl<T>
[src]
fn partial_cmp(&self, __arg_0: &EvQueueControl<T>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &EvQueueControl<T>) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &EvQueueControl<T>) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &EvQueueControl<T>) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &EvQueueControl<T>) -> bool
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]
fn hash<__HT: Hasher>(&self, __arg_0: &mut __HT)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<T: Default> Default for EvQueueControl<T>
[src]
fn default() -> EvQueueControl<T>
Returns the "default value" for a type. Read more