pub struct AudioStreamInfo(pub StreamInfo);Expand description
Audio stream info (sample rate, channel count, etc.).
Re-exports crate::audio::device::StreamInfo as a context key.
Agents insert AudioStreamInfo(stream_info) into the context.
Tuple Fields§
§0: StreamInfoTrait Implementations§
Source§impl Clone for AudioStreamInfo
impl Clone for AudioStreamInfo
Source§fn clone(&self) -> AudioStreamInfo
fn clone(&self) -> AudioStreamInfo
Returns a duplicate 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 AudioStreamInfo
impl Debug for AudioStreamInfo
impl Copy for AudioStreamInfo
Auto Trait Implementations§
impl Freeze for AudioStreamInfo
impl RefUnwindSafe for AudioStreamInfo
impl Send for AudioStreamInfo
impl Sync for AudioStreamInfo
impl Unpin for AudioStreamInfo
impl UnwindSafe for AudioStreamInfo
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