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