pub struct CapturableContentFilter { /* private fields */ }
Expand description
Selects the kind of capturable content to enumerate
Implementations§
source§impl CapturableContentFilter
impl CapturableContentFilter
sourcepub fn new(displays: bool, windows: Option<CapturableWindowFilter>) -> Self
pub fn new(displays: bool, windows: Option<CapturableWindowFilter>) -> Self
Create a new content filter with the given filtering options
sourcepub const ALL_WINDOWS: Self = _
pub const ALL_WINDOWS: Self = _
All capturable windows, but no displays
sourcepub const EVERYTHING: Self = _
pub const EVERYTHING: Self = _
Everything that can be captured
sourcepub const NORMAL_WINDOWS: Self = _
pub const NORMAL_WINDOWS: Self = _
Only normal windows - no modal panels, not the dock on macos, etc.
sourcepub const EVERYTHING_NORMAL: Self = _
pub const EVERYTHING_NORMAL: Self = _
Only normal windows and displays
Trait Implementations§
source§impl Clone for CapturableContentFilter
impl Clone for CapturableContentFilter
source§fn clone(&self) -> CapturableContentFilter
fn clone(&self) -> CapturableContentFilter
Returns a copy 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 WindowsCapturableContentFilterExt for CapturableContentFilter
impl WindowsCapturableContentFilterExt for CapturableContentFilter
fn with_exclude_window_handles(self, excluded_window_handles: &[HWND]) -> Self
Auto Trait Implementations§
impl Freeze for CapturableContentFilter
impl RefUnwindSafe for CapturableContentFilter
impl Send for CapturableContentFilter
impl Sync for CapturableContentFilter
impl Unpin for CapturableContentFilter
impl UnwindSafe for CapturableContentFilter
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