[−][src]Struct alto::efx::AuxEffectSlot
An aux effect slot as provided by EFX.
Methods
impl AuxEffectSlot
[src]
pub fn context(&self) -> &Context
[src]
pub fn as_raw(&self) -> ALuint
[src]
pub fn set_effect<E: Effect>(&mut self, value: &E) -> AltoResult<()>
[src]
alAuxiliaryEffectSloti(AL_EFFECTSLOT_EFFECT)
pub fn clear_effect(&mut self)
[src]
alAuxiliaryEffectSloti(AL_EFFECTSLOT_EFFECT)
pub fn gain(&self) -> f32
[src]
alGetAuxiliaryEffectSloti(AL_EFFECTSLOT_GAIN)
pub fn set_gain(&mut self, value: f32) -> AltoResult<()>
[src]
alAuxiliaryEffectSloti(AL_EFFECTSLOT_GAIN)
pub fn aux_send_auto(&self) -> bool
[src]
alGetAuxiliaryEffectSloti(AL_EFFECTSLOT_AUXILIARY_SEND_AUTO)
pub fn set_aux_send_auto(&mut self, value: bool) -> AltoResult<()>
[src]
alAuxiliaryEffectSloti(AL_EFFECTSLOT_AUXILIARY_SEND_AUTO)
Trait Implementations
impl Drop for AuxEffectSlot
[src]
Auto Trait Implementations
impl Send for AuxEffectSlot
impl Sync for AuxEffectSlot
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,