#[repr(i32)]pub enum SCContentSharingPickerMode {
SingleWindow = 0,
MultipleWindows = 1,
SingleDisplay = 2,
SingleApplication = 3,
MultipleApplications = 4,
}Expand description
Picker mode determines what content types can be selected
These modes can be combined to allow users to pick from different source types.
Variants§
SingleWindow = 0
Allow selection of a single window
MultipleWindows = 1
Allow selection of multiple windows
SingleDisplay = 2
Allow selection of a single display/screen
SingleApplication = 3
Allow selection of a single application
MultipleApplications = 4
Allow selection of multiple applications
Trait Implementations§
Source§impl Clone for SCContentSharingPickerMode
impl Clone for SCContentSharingPickerMode
Source§fn clone(&self) -> SCContentSharingPickerMode
fn clone(&self) -> SCContentSharingPickerMode
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 SCContentSharingPickerMode
impl Debug for SCContentSharingPickerMode
Source§impl Default for SCContentSharingPickerMode
impl Default for SCContentSharingPickerMode
Source§fn default() -> SCContentSharingPickerMode
fn default() -> SCContentSharingPickerMode
Returns the “default value” for a type. Read more
Source§impl Hash for SCContentSharingPickerMode
impl Hash for SCContentSharingPickerMode
impl Copy for SCContentSharingPickerMode
impl Eq for SCContentSharingPickerMode
impl StructuralPartialEq for SCContentSharingPickerMode
Auto Trait Implementations§
impl Freeze for SCContentSharingPickerMode
impl RefUnwindSafe for SCContentSharingPickerMode
impl Send for SCContentSharingPickerMode
impl Sync for SCContentSharingPickerMode
impl Unpin for SCContentSharingPickerMode
impl UnwindSafe for SCContentSharingPickerMode
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