Struct rfmod::SpeakerMixOptions [] [src]

pub struct SpeakerMixOptions {
    pub front_left: f32,
    pub front_right: f32,
    pub center: f32,
    pub lfe: f32,
    pub back_left: f32,
    pub back_right: f32,
    pub side_left: f32,
    pub side_right: f32,
}

Structure which contains data for Channel::set_speaker_mix and Channel::get_speaker_mix

Fields

front_left: f32 front_right: f32 center: f32 lfe: f32 back_left: f32 back_right: f32 side_left: f32 side_right: f32

Trait Implementations

impl Copy for SpeakerMixOptions
[src]

impl Clone for SpeakerMixOptions
[src]

fn clone(&self) -> SpeakerMixOptions

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 PartialOrd for SpeakerMixOptions
[src]

fn partial_cmp(&self, __arg_0: &SpeakerMixOptions) -> Option<Ordering>

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

fn lt(&self, __arg_0: &SpeakerMixOptions) -> bool

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

fn le(&self, __arg_0: &SpeakerMixOptions) -> 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: &SpeakerMixOptions) -> bool

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

fn ge(&self, __arg_0: &SpeakerMixOptions) -> bool

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

impl PartialEq for SpeakerMixOptions
[src]

fn eq(&self, __arg_0: &SpeakerMixOptions) -> bool

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

fn ne(&self, __arg_0: &SpeakerMixOptions) -> bool

This method tests for !=.

impl Debug for SpeakerMixOptions
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for SpeakerMixOptions
[src]

fn default() -> SpeakerMixOptions

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