Struct cubeb_core::StreamParamsBuilder
source · pub struct StreamParamsBuilder(/* private fields */);
Expand description
Implementations§
source§impl StreamParamsBuilder
impl StreamParamsBuilder
pub fn new() -> Self
pub fn format(self, format: SampleFormat) -> Self
pub fn rate(self, rate: u32) -> Self
pub fn channels(self, channels: u32) -> Self
pub fn layout(self, layout: ChannelLayout) -> Self
pub fn prefs(self, prefs: StreamPrefs) -> Self
pub fn take(&self) -> StreamParams
Trait Implementations§
source§impl Debug for StreamParamsBuilder
impl Debug for StreamParamsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for StreamParamsBuilder
impl Send for StreamParamsBuilder
impl Sync for StreamParamsBuilder
impl Unpin for StreamParamsBuilder
impl UnwindSafe for StreamParamsBuilder
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