pub enum SCContentSharingPickerResult {
Display(SCDisplay),
Window(SCWindow),
Application(SCRunningApplication),
Cancelled,
Error(String),
}Expand description
Result from the content sharing picker
Variants§
Display(SCDisplay)
User selected display content
Window(SCWindow)
User selected a window
Application(SCRunningApplication)
User selected an application
Cancelled
User cancelled the picker
Error(String)
An error occurred
Trait Implementations§
Source§impl Clone for SCContentSharingPickerResult
impl Clone for SCContentSharingPickerResult
Source§fn clone(&self) -> SCContentSharingPickerResult
fn clone(&self) -> SCContentSharingPickerResult
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 SCContentSharingPickerResult
impl Debug for SCContentSharingPickerResult
Source§impl Hash for SCContentSharingPickerResult
impl Hash for SCContentSharingPickerResult
Source§impl PartialEq for SCContentSharingPickerResult
impl PartialEq for SCContentSharingPickerResult
Source§fn eq(&self, other: &SCContentSharingPickerResult) -> bool
fn eq(&self, other: &SCContentSharingPickerResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SCContentSharingPickerResult
impl StructuralPartialEq for SCContentSharingPickerResult
Auto Trait Implementations§
impl Freeze for SCContentSharingPickerResult
impl RefUnwindSafe for SCContentSharingPickerResult
impl Send for SCContentSharingPickerResult
impl Sync for SCContentSharingPickerResult
impl Unpin for SCContentSharingPickerResult
impl UnwindSafe for SCContentSharingPickerResult
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