Struct alto::ContextAttrs [−][src]
pub struct ContextAttrs { pub frequency: Option<ALCint>, pub refresh: Option<ALCint>, pub mono_sources: Option<ALCint>, pub stereo_sources: Option<ALCint>, pub soft_hrtf: Option<bool>, pub soft_hrtf_id: Option<ALCint>, pub soft_output_limiter: Option<bool>, pub max_aux_sends: Option<ALCint>, }
Attributes that may be supplied during context creation.
Fields
frequency: Option<ALCint>
ALC_FREQUENCY
refresh: Option<ALCint>
ALC_REFRESH
mono_sources: Option<ALCint>
ALC_MONO_SOURCES
stereo_sources: Option<ALCint>
ALC_STEREO_SOURCES
soft_hrtf: Option<bool>
ALC_HRTF_SOFT
Requires ALC_SOFT_HRTF
soft_hrtf_id: Option<ALCint>
ALC_HRTF_ID_SOFT
Requires ALC_SOFT_HRTF
soft_output_limiter: Option<bool>
ALC_OUTPUT_LIMITER_SOFT
Requires ALC_SOFT_output_limiter
max_aux_sends: Option<ALCint>
ALC_MAX_AUXILIARY_SENDS
Requires ALC_EXT_EFX
Trait Implementations
impl Copy for ContextAttrs
[src]
impl Copy for ContextAttrs
impl Clone for ContextAttrs
[src]
impl Clone for ContextAttrs
fn clone(&self) -> ContextAttrs
[src]
fn clone(&self) -> ContextAttrs
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ContextAttrs
[src]
impl PartialEq for ContextAttrs
fn eq(&self, other: &ContextAttrs) -> bool
[src]
fn eq(&self, other: &ContextAttrs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ContextAttrs) -> bool
[src]
fn ne(&self, other: &ContextAttrs) -> bool
This method tests for !=
.
impl Eq for ContextAttrs
[src]
impl Eq for ContextAttrs
impl Hash for ContextAttrs
[src]
impl Hash for ContextAttrs
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for ContextAttrs
[src]
impl Default for ContextAttrs
fn default() -> ContextAttrs
[src]
fn default() -> ContextAttrs
Returns the "default value" for a type. Read more
impl Debug for ContextAttrs
[src]
impl Debug for ContextAttrs
Auto Trait Implementations
impl Send for ContextAttrs
impl Send for ContextAttrs
impl Sync for ContextAttrs
impl Sync for ContextAttrs