pub struct Stream(/* private fields */);Expand description
The Stream implementation associated with the platform’s dynamically dispatched
Host type.
Implementations§
Source§impl Stream
impl Stream
Sourcepub fn as_inner(&self) -> &StreamInner
Available on Android only.
pub fn as_inner(&self) -> &StreamInner
Returns a reference to the underlying platform specific implementation of this
Stream.
Sourcepub fn as_inner_mut(&mut self) -> &mut StreamInner
Available on Android only.
pub fn as_inner_mut(&mut self) -> &mut StreamInner
Returns a mutable reference to the underlying platform specific implementation of
this Stream.
Sourcepub fn into_inner(self) -> StreamInner
Available on Android only.
pub fn into_inner(self) -> StreamInner
Returns the underlying platform specific implementation of this Stream.
Trait Implementations§
Source§impl From<<<Host as HostTrait>::Device as DeviceTrait>::Stream> for Stream
Available on Android only.
impl From<<<Host as HostTrait>::Device as DeviceTrait>::Stream> for Stream
Available on Android only.
Source§fn from(h: <<AAudioHost as HostTrait>::Device as DeviceTrait>::Stream) -> Self
fn from(h: <<AAudioHost as HostTrait>::Device as DeviceTrait>::Stream) -> Self
Converts to this type from the input type.
Source§impl From<<<Host as HostTrait>::Device as DeviceTrait>::Stream> for Stream
Available on Android and crate feature custom only.
impl From<<<Host as HostTrait>::Device as DeviceTrait>::Stream> for Stream
Available on Android and crate feature
custom only.Source§fn from(h: <<CustomHost as HostTrait>::Device as DeviceTrait>::Stream) -> Self
fn from(h: <<CustomHost as HostTrait>::Device as DeviceTrait>::Stream) -> Self
Converts to this type from the input type.
Source§impl From<StreamInner> for Stream
Available on Android only.
impl From<StreamInner> for Stream
Available on Android only.
Source§fn from(s: StreamInner) -> Self
fn from(s: StreamInner) -> Self
Converts to this type from the input type.
Source§impl StreamTrait for Stream
Available on Android only.
impl StreamTrait for Stream
Available on Android only.
Auto Trait Implementations§
impl Freeze for Stream
impl !RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl !UnwindSafe for Stream
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