pub struct SCShareableContentOptions { /* private fields */ }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.
When set to true, desktop-level windows (like the desktop background)
are excluded from the returned window list.
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.
When set to true, only windows that are currently visible on screen
are included. Minimized or off-screen windows are excluded.
Trait Implementations§
Source§fn clone(&self) -> SCShareableContentOptions
fn clone(&self) -> SCShareableContentOptions
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() -> SCShareableContentOptions
fn default() -> SCShareableContentOptions
Returns the “default value” for a type. Read more
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