pub struct WindowTarget {
pub window_id: u32,
pub pid: i32,
pub bounds: WindowBounds,
}Expand description
One window selected for capture.
Fields§
§window_id: u32Platform window id. On macOS this is the CG window id.
pid: i32Owning process id.
bounds: WindowBoundsScreen bounds in logical points.
Trait Implementations§
Source§impl Clone for WindowTarget
impl Clone for WindowTarget
impl Copy for WindowTarget
Source§impl Debug for WindowTarget
impl Debug for WindowTarget
impl Eq for WindowTarget
Source§impl PartialEq for WindowTarget
impl PartialEq for WindowTarget
impl StructuralPartialEq for WindowTarget
Auto Trait Implementations§
impl Freeze for WindowTarget
impl RefUnwindSafe for WindowTarget
impl Send for WindowTarget
impl Sync for WindowTarget
impl Unpin for WindowTarget
impl UnsafeUnpin for WindowTarget
impl UnwindSafe for WindowTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.