pub struct TypedSampleStream<'a> { /* private fields */ }Expand description
A Stream of captured sample buffers tagged with
their SCStreamOutputType.
Like SampleStream but yields (CMSampleBuffer, SCStreamOutputType) so a
multi-output stream’s audio and video can be told apart. Returned by
AsyncSCStream::frames_typed.
Trait Implementations§
Source§impl Debug for TypedSampleStream<'_>
impl Debug for TypedSampleStream<'_>
Source§impl Drop for TypedSampleStream<'_>
impl Drop for TypedSampleStream<'_>
Source§impl Stream for TypedSampleStream<'_>
impl Stream for TypedSampleStream<'_>
Source§type Item = (CMSampleBuffer, SCStreamOutputType)
type Item = (CMSampleBuffer, SCStreamOutputType)
Values yielded by the stream.
Auto Trait Implementations§
impl<'a> Freeze for TypedSampleStream<'a>
impl<'a> RefUnwindSafe for TypedSampleStream<'a>
impl<'a> Send for TypedSampleStream<'a>
impl<'a> Sync for TypedSampleStream<'a>
impl<'a> Unpin for TypedSampleStream<'a>
impl<'a> UnsafeUnpin for TypedSampleStream<'a>
impl<'a> UnwindSafe for TypedSampleStream<'a>
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