pub struct AsyncSCShareableContentOptions { /* private fields */ }Expand description
Options for async shareable content retrieval
Implementations§
Sourcepub fn exclude_desktop_windows(self, exclude: bool) -> Self
pub fn exclude_desktop_windows(self, exclude: bool) -> Self
Exclude desktop windows from the shareable content
Sourcepub fn on_screen_windows_only(self, on_screen_only: bool) -> Self
pub fn on_screen_windows_only(self, on_screen_only: bool) -> Self
Include only on-screen windows in the shareable content
Sourcepub fn get_async(self) -> AsyncShareableContentFuture ⓘ
pub fn get_async(self) -> AsyncShareableContentFuture ⓘ
Asynchronously get the shareable content with these options
Trait Implementations§
Source§fn clone(&self) -> AsyncSCShareableContentOptions
fn clone(&self) -> AsyncSCShareableContentOptions
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§fn default() -> AsyncSCShareableContentOptions
fn default() -> AsyncSCShareableContentOptions
Returns the “default value” for a type. Read more
Source§fn eq(&self, other: &AsyncSCShareableContentOptions) -> bool
fn eq(&self, other: &AsyncSCShareableContentOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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