pub struct WindowSource {
pub id: SourceId,
pub title: String,
pub app_name: Option<String>,
}Expand description
A capturable application window.
Fields§
§id: SourceId§title: String§app_name: Option<String>Owning application, when the platform exposes it.
Trait Implementations§
Source§impl Clone for WindowSource
impl Clone for WindowSource
Source§fn clone(&self) -> WindowSource
fn clone(&self) -> WindowSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindowSource
impl Debug for WindowSource
impl Eq for WindowSource
Source§impl PartialEq for WindowSource
impl PartialEq for WindowSource
Source§fn eq(&self, other: &WindowSource) -> bool
fn eq(&self, other: &WindowSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WindowSource
Auto Trait Implementations§
impl Freeze for WindowSource
impl RefUnwindSafe for WindowSource
impl Send for WindowSource
impl Sync for WindowSource
impl Unpin for WindowSource
impl UnsafeUnpin for WindowSource
impl UnwindSafe for WindowSource
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