pub struct PlaybackConfig {
pub sample_rate: u32,
pub channels: u16,
pub device_name: Option<String>,
}Expand description
Audio playback configuration.
Fields§
§sample_rate: u32§channels: u16§device_name: Option<String>Trait Implementations§
Source§impl Clone for PlaybackConfig
impl Clone for PlaybackConfig
Source§fn clone(&self) -> PlaybackConfig
fn clone(&self) -> PlaybackConfig
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 moreSource§impl Debug for PlaybackConfig
impl Debug for PlaybackConfig
Auto Trait Implementations§
impl Freeze for PlaybackConfig
impl RefUnwindSafe for PlaybackConfig
impl Send for PlaybackConfig
impl Sync for PlaybackConfig
impl Unpin for PlaybackConfig
impl UnsafeUnpin for PlaybackConfig
impl UnwindSafe for PlaybackConfig
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