#[non_exhaustive]pub enum CaptureSource {
Output(String),
Toplevel(u64),
}Expand description
What a ScreencopyView shows.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Output(String)
The output of this name, such as DP-1.
Toplevel(u64)
The window of this id: a Toplevel::id from cx.toplevels().
Trait Implementations§
Source§impl Clone for CaptureSource
impl Clone for CaptureSource
Source§impl Debug for CaptureSource
impl Debug for CaptureSource
impl Eq for CaptureSource
Source§impl Hash for CaptureSource
impl Hash for CaptureSource
Source§impl IntoProp<CaptureSource> for CaptureSource
impl IntoProp<CaptureSource> for CaptureSource
Source§fn into_prop(self) -> Prop<CaptureSource>
fn into_prop(self) -> Prop<CaptureSource>
Wraps the value or closure.
Source§impl PartialEq for CaptureSource
impl PartialEq for CaptureSource
impl StructuralPartialEq for CaptureSource
Auto Trait Implementations§
impl Forget for CaptureSource
impl Freeze for CaptureSource
impl Move 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