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

Delay 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.

Time 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.

Time the sound should end. If this is non-zero, the channel will go silent at this exact tick.

Time the sound should pause. If this is non-zero, the channel will pause at this exact tick.

Maximum number of tag datatypes supported.

Makes sure this enum is signed 32bit.

Trait Implementations

impl Clone for DelayType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DelayType
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialOrd for DelayType
[src]

[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.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]

[src]

Formats the value using the given formatter. Read more

impl Copy for DelayType
[src]

Auto Trait Implementations

impl Send for DelayType

impl Sync for DelayType