pub enum SCPickedSource {
Window(String),
Display(u32),
Application(String),
Unknown,
}Expand description
Represents the type of content selected in the picker
Variants§
Window(String)
A window was selected, with its title
Display(u32)
A display was selected, with its ID
Application(String)
An application was selected, with its name
Unknown
No specific source identified
Trait Implementations§
Source§impl Clone for SCPickedSource
impl Clone for SCPickedSource
Source§fn clone(&self) -> SCPickedSource
fn clone(&self) -> SCPickedSource
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 SCPickedSource
impl Debug for SCPickedSource
Source§impl PartialEq for SCPickedSource
impl PartialEq for SCPickedSource
impl Eq for SCPickedSource
impl StructuralPartialEq for SCPickedSource
Auto Trait Implementations§
impl Freeze for SCPickedSource
impl RefUnwindSafe for SCPickedSource
impl Send for SCPickedSource
impl Sync for SCPickedSource
impl Unpin for SCPickedSource
impl UnwindSafe for SCPickedSource
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