Struct rich_sdl2_rust::mixer::device::MixSpec
source · pub struct MixSpec {
pub frequency: u32,
pub format: AudioFormat,
pub channels: u32,
}
Expand description
A specification of the MixDevice
, returned from MixDevice::query
.
Fields§
§frequency: u32
The sampling frequency of the audio device.
format: AudioFormat
The output format of the audio device.
channels: u32
The numbers of channels of the audio device.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MixSpec
impl Send for MixSpec
impl Sync for MixSpec
impl Unpin for MixSpec
impl UnwindSafe for MixSpec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more