Enum rfmod::DelayType
[−]
[src]
#[repr(C)]pub enum DelayType { EndMS, DSPClockStart, DSPClockEnd, DSPClockPause, Max, ForceInt, }
Types of delay that can be used with
Channel::set_delay /
Channel::get_delay.
Variants
EndMSDelay at the end of the sound in milliseconds. Use delayhi only.
Channel::is_playing will remain true until
this delay has passed even though the sound itself has stopped playing.
DSPClockStartTime the sound started if Channel::get_delay
is used, or if Channel::set_delay is used,
the sound will delay playing until this exact tick.
DSPClockEndTime the sound should end. If this is non-zero, the channel will go silent at this exact tick.
DSPClockPauseTime the sound should pause. If this is non-zero, the channel will pause at this exact tick.
MaxMaximum number of tag datatypes supported.
ForceIntMakes sure this enum is signed 32bit.
Trait Implementations
impl Clone for DelayType[src]
fn clone(&self) -> DelayType[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for DelayType[src]
fn eq(&self, __arg_0: &DelayType) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl PartialOrd for DelayType[src]
fn partial_cmp(&self, __arg_0: &DelayType) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for DelayType[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more