pub struct SetParams {
pub channels: u8,
pub format: SampleFormat,
pub frame_rate: u32,
pub buffer_bytes: usize,
pub period_bytes: usize,
pub dir: u8,
}Expand description
Parameters for setting parameters in StreamInfo
Fields§
§channels: u8§format: SampleFormat§frame_rate: u32§buffer_bytes: usize§period_bytes: usize§dir: u8Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetParams
impl RefUnwindSafe for SetParams
impl Send for SetParams
impl Sync for SetParams
impl Unpin for SetParams
impl UnwindSafe for SetParams
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