pub unsafe trait Context {
// Required method
fn as_ptr(&self) -> *const ALCcontext;
// Provided method
fn as_mut_ptr(&mut self) -> *mut ALCcontext { ... }
}Expand description
Internal trait specifying the type is an OpenAL context.
Required Methods§
Sourcefn as_ptr(&self) -> *const ALCcontext
fn as_ptr(&self) -> *const ALCcontext
Return a *const pointer for the context.
Provided Methods§
Sourcefn as_mut_ptr(&mut self) -> *mut ALCcontext
fn as_mut_ptr(&mut self) -> *mut ALCcontext
Return a *mut pointer for the context.