pub struct VideoTrackSource { /* private fields */ }Implementations§
Source§impl VideoTrackSource
impl VideoTrackSource
pub fn video_resolution(&self) -> VideoResolution
pub fn on_captured_frame(&self, frame: &UniquePtr<VideoFrame>) -> bool
Trait Implementations§
Source§impl ExternType for VideoTrackSource
impl ExternType for VideoTrackSource
impl Send for VideoTrackSource
impl Sync for VideoTrackSource
Auto Trait Implementations§
impl !Freeze for VideoTrackSource
impl RefUnwindSafe for VideoTrackSource
impl !Unpin for VideoTrackSource
impl UnsafeUnpin for VideoTrackSource
impl UnwindSafe for VideoTrackSource
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