Struct cubeb_core::StreamParamsBuilder
source · [−]pub struct StreamParamsBuilder(_);Expand description
Implementations
sourceimpl 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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more