Struct cubeb::StreamParams
[−]
[src]
pub struct StreamParams(_);
Methods
impl StreamParams
[src]
pub fn as_ptr(&self) -> *mut cubeb_stream_params
[src]
Methods from Deref<Target = StreamParamsRef>
pub fn format(&self) -> SampleFormat
[src]
pub fn rate(&self) -> u32
[src]
pub fn channels(&self) -> u32
[src]
pub fn layout(&self) -> ChannelLayout
[src]
pub fn prefs(&self) -> StreamPrefs
[src]
pub fn as_ptr(&self) -> *mut cubeb_stream_params
[src]
Trait Implementations
impl Default for StreamParams
[src]
fn default() -> StreamParams
[src]
Returns the "default value" for a type. Read more
impl AsRef<StreamParamsRef> for StreamParams
[src]
fn as_ref(&self) -> &StreamParamsRef
[src]
Performs the conversion.
impl Deref for StreamParams
[src]
type Target = StreamParamsRef
The resulting type after dereferencing.
fn deref(&self) -> &StreamParamsRef
[src]
Dereferences the value.
impl DerefMut for StreamParams
[src]
fn deref_mut(&mut self) -> &mut StreamParamsRef
[src]
Mutably dereferences the value.
impl Borrow<StreamParamsRef> for StreamParams
[src]
fn borrow(&self) -> &StreamParamsRef
[src]
Immutably borrows from an owned value. Read more
impl From<cubeb_stream_params> for StreamParams
[src]
fn from(x: cubeb_stream_params) -> StreamParams
[src]
Performs the conversion.