[][src]Struct cubeb_backend::StreamParamsRef

pub struct StreamParamsRef(_);

Methods

impl StreamParamsRef[src]

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]

impl StreamParamsRef[src]

pub unsafe fn from_ptr<'a>(ptr: *mut cubeb_stream_params) -> &'a StreamParamsRef[src]

pub unsafe fn from_ptr_mut<'a>(
    ptr: *mut cubeb_stream_params
) -> &'a mut StreamParamsRef
[src]

pub fn as_ptr(&self) -> *mut cubeb_stream_params[src]

Trait Implementations

impl Debug for StreamParamsRef[src]

impl AsRef<StreamParamsRef> for StreamParams[src]

impl Borrow<StreamParamsRef> for StreamParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]