Struct crabgrab::capturable_content::CapturableWindow  
source · pub struct CapturableWindow { /* private fields */ }Expand description
Represents a capturable application window
Implementations§
source§impl CapturableWindow
 
impl CapturableWindow
sourcepub fn application(&self) -> CapturableApplication
 
pub fn application(&self) -> CapturableApplication
Gets the application that owns this window
sourcepub fn is_visible(&self) -> bool
 
pub fn is_visible(&self) -> bool
Checks whether an application is visible (on-screen, not minimized)
Trait Implementations§
source§impl Clone for CapturableWindow
 
impl Clone for CapturableWindow
source§fn clone(&self) -> CapturableWindow
 
fn clone(&self) -> CapturableWindow
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 Debug for CapturableWindow
 
impl Debug for CapturableWindow
source§impl Hash for CapturableWindow
 
impl Hash for CapturableWindow
source§impl PartialEq for CapturableWindow
 
impl PartialEq for CapturableWindow
source§fn eq(&self, other: &CapturableWindow) -> bool
 
fn eq(&self, other: &CapturableWindow) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl WindowsCapturableWindowExt for CapturableWindow
 
impl WindowsCapturableWindowExt for CapturableWindow
source§fn get_window_handle(&self) -> HWND
 
fn get_window_handle(&self) -> HWND
Get the HWND for this capturable window.
source§fn from_window_handle(
    window_handle: HWND
) -> Result<Self, CapturableContentError>
 
fn from_window_handle( window_handle: HWND ) -> Result<Self, CapturableContentError>
Get a capturable window from an HWND
impl Eq for CapturableWindow
impl Send for CapturableWindow
impl StructuralPartialEq for CapturableWindow
impl Sync for CapturableWindow
Auto Trait Implementations§
impl Freeze for CapturableWindow
impl RefUnwindSafe for CapturableWindow
impl Unpin for CapturableWindow
impl UnwindSafe for CapturableWindow
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
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.