Trait openal::Context
[−]
[src]
pub unsafe trait Context { fn as_ptr(&self) -> *const ALCcontext; fn as_mut_ptr(&mut self) -> *mut ALCcontext { ... } }
Internal trait specifying the type is an OpenAL context.
Required Methods
fn as_ptr(&self) -> *const ALCcontext
Return a *const
pointer for the context.
Provided Methods
fn as_mut_ptr(&mut self) -> *mut ALCcontext
Return a *mut
pointer for the context.
Trait Implementations
impl Device for Context
[src]
fn as_ptr(&self) -> *const ALCdevice
Return a *const
pointer for the device.
fn as_mut_ptr(&mut self) -> *mut ALCdevice
Return a *mut
pointer for the device.
Implementors
impl Context for *const ALCcontext
impl Context for *mut ALCcontext
impl<'a> Context for Listener<'a>