Struct cubeb::StreamParams
[−]
[src]
pub struct StreamParams(_);
Methods
impl StreamParams
[src]
fn as_ptr(&self) -> *mut cubeb_stream_params
[src]
Methods from Deref<Target = StreamParamsRef>
fn format(&self) -> SampleFormat
[src]
fn rate(&self) -> u32
[src]
fn channels(&self) -> u32
[src]
fn layout(&self) -> ChannelLayout
[src]
fn prefs(&self) -> StreamPrefs
[src]
fn as_ptr(&self) -> *mut cubeb_stream_params
[src]
Trait Implementations
impl DerefMut for StreamParams
[src]
fn deref_mut(&mut self) -> &mut StreamParamsRef
[src]
impl From<cubeb_stream_params> for StreamParams
[src]
fn from(x: cubeb_stream_params) -> StreamParams
[src]
impl Debug for StreamParams
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl Borrow<StreamParamsRef> for StreamParams
[src]
fn borrow(&self) -> &StreamParamsRef
[src]
impl Default for StreamParams
[src]
fn default() -> StreamParams
[src]
impl Deref for StreamParams
[src]
type Target = StreamParamsRef
The resulting type after dereferencing.
fn deref(&self) -> &StreamParamsRef
[src]
Dereferences the value.