pub enum CaptureSource {
Display(DisplaySource),
Window(WindowSource),
SystemAudio(AudioDeviceSource),
Microphone(AudioDeviceSource),
}Expand description
Anything enumerate_sources can return.
Variants§
Display(DisplaySource)
Window(WindowSource)
SystemAudio(AudioDeviceSource)
Microphone(AudioDeviceSource)
Trait Implementations§
Source§impl Clone for CaptureSource
impl Clone for CaptureSource
Source§fn clone(&self) -> CaptureSource
fn clone(&self) -> CaptureSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CaptureSource
impl Debug for CaptureSource
impl Eq for CaptureSource
Source§impl PartialEq for CaptureSource
impl PartialEq for CaptureSource
Source§fn eq(&self, other: &CaptureSource) -> bool
fn eq(&self, other: &CaptureSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CaptureSource
Auto Trait Implementations§
impl Freeze for CaptureSource
impl RefUnwindSafe for CaptureSource
impl Send for CaptureSource
impl Sync for CaptureSource
impl Unpin for CaptureSource
impl UnsafeUnpin for CaptureSource
impl UnwindSafe for CaptureSource
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