pub struct TargetRecord {
pub app: String,
pub title: String,
pub monitor: usize,
pub origin_px: Point,
pub size_px: Size,
}Expand description
The --target window as it stood at the instant of the freeze.
Fields§
§app: String§title: String§monitor: usize§origin_px: PointWindow origin in that monitor’s local physical pixels.
size_px: SizeTrait Implementations§
Source§impl Clone for TargetRecord
impl Clone for TargetRecord
Source§fn clone(&self) -> TargetRecord
fn clone(&self) -> TargetRecord
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 TargetRecord
impl Debug for TargetRecord
Source§impl<'de> Deserialize<'de> for TargetRecord
impl<'de> Deserialize<'de> for TargetRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TargetRecord
Source§impl PartialEq for TargetRecord
impl PartialEq for TargetRecord
Source§impl Serialize for TargetRecord
impl Serialize for TargetRecord
impl StructuralPartialEq for TargetRecord
Auto Trait Implementations§
impl Freeze for TargetRecord
impl RefUnwindSafe for TargetRecord
impl Send for TargetRecord
impl Sync for TargetRecord
impl Unpin for TargetRecord
impl UnsafeUnpin for TargetRecord
impl UnwindSafe for TargetRecord
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.