pub struct NativeVideoSource { /* private fields */ }Implementations§
Source§impl NativeVideoSource
impl NativeVideoSource
pub fn new( resolution: VideoResolution, is_screencast: bool, ) -> NativeVideoSource
pub fn capture_frame<T>(&self, frame: &VideoFrame<T>)where
T: AsRef<dyn VideoBuffer>,
pub fn video_resolution(&self) -> VideoResolution
Trait Implementations§
Source§impl Clone for NativeVideoSource
impl Clone for NativeVideoSource
Source§fn clone(&self) -> NativeVideoSource
fn clone(&self) -> NativeVideoSource
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 NativeVideoSource
impl Debug for NativeVideoSource
Source§impl Default for NativeVideoSource
impl Default for NativeVideoSource
Source§fn default() -> NativeVideoSource
fn default() -> NativeVideoSource
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NativeVideoSource
impl !RefUnwindSafe for NativeVideoSource
impl Send for NativeVideoSource
impl Sync for NativeVideoSource
impl Unpin for NativeVideoSource
impl UnsafeUnpin for NativeVideoSource
impl !UnwindSafe for NativeVideoSource
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