[][src]Struct alto::efx::AuxEffectSlot

pub struct AuxEffectSlot { /* fields omitted */ }

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

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T