pub struct ObtainedAudioSpec {
pub freq: c_int,
pub format: AudioFormat,
pub channels: Channels,
pub silence: u8,
pub samples: u16,
pub size: u32,
}
Fields§
§freq: c_int
§format: AudioFormat
§channels: Channels
§silence: u8
§samples: u16
§size: u32
Trait Implementations§
Source§impl Clone for ObtainedAudioSpec
impl Clone for ObtainedAudioSpec
Source§fn clone(&self) -> ObtainedAudioSpec
fn clone(&self) -> ObtainedAudioSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ObtainedAudioSpec
Auto Trait Implementations§
impl Freeze for ObtainedAudioSpec
impl RefUnwindSafe for ObtainedAudioSpec
impl Send for ObtainedAudioSpec
impl Sync for ObtainedAudioSpec
impl Unpin for ObtainedAudioSpec
impl UnwindSafe for ObtainedAudioSpec
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