Struct cubeb_core::ffi::cubeb_stream_params
source · #[repr(C)]pub struct cubeb_stream_params {
pub format: u32,
pub rate: u32,
pub channels: u32,
pub layout: u32,
pub prefs: u32,
}
Fields§
§format: u32
§rate: u32
§channels: u32
§layout: u32
§prefs: u32
Trait Implementations§
source§impl Clone for cubeb_stream_params
impl Clone for cubeb_stream_params
source§fn clone(&self) -> cubeb_stream_params
fn clone(&self) -> cubeb_stream_params
Returns a copy 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 cubeb_stream_params
impl Debug for cubeb_stream_params
source§impl Default for cubeb_stream_params
impl Default for cubeb_stream_params
source§fn default() -> cubeb_stream_params
fn default() -> cubeb_stream_params
Returns the “default value” for a type. Read more
source§impl From<cubeb_stream_params> for StreamParams
impl From<cubeb_stream_params> for StreamParams
source§fn from(x: cubeb_stream_params) -> StreamParams
fn from(x: cubeb_stream_params) -> StreamParams
Converts to this type from the input type.
impl Copy for cubeb_stream_params
Auto Trait Implementations§
impl RefUnwindSafe for cubeb_stream_params
impl Send for cubeb_stream_params
impl Sync for cubeb_stream_params
impl Unpin for cubeb_stream_params
impl UnwindSafe for cubeb_stream_params
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