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 Clone for ContextAttrs
[src]
fn clone(&self) -> ContextAttrs
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 PartialEq for ContextAttrs
[src]
fn eq(&self, __arg_0: &ContextAttrs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ContextAttrs) -> bool
This method tests for !=
.
impl Eq for ContextAttrs
[src]
impl Hash for ContextAttrs
[src]
fn hash<__H: Hasher>(&self, __arg_0: &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
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for ContextAttrs
[src]
fn default() -> ContextAttrs
Returns the "default value" for a type. Read more