pub struct DisplayTarget {
pub display: DisplayInfo,
pub region: Region,
}Expand description
One monitor the rest of the action is confined to.
Fields§
§display: DisplayInfoThe monitor, exactly as list_displays reported it.
region: RegionThe monitor’s rectangle in virtual-desktop points. This is also the capture region, so the screenshot map origin is the monitor origin.
Implementations§
Source§impl DisplayTarget
impl DisplayTarget
Trait Implementations§
Source§impl Clone for DisplayTarget
impl Clone for DisplayTarget
Source§impl Debug for DisplayTarget
impl Debug for DisplayTarget
Source§impl PartialEq for DisplayTarget
impl PartialEq for DisplayTarget
impl StructuralPartialEq for DisplayTarget
Auto Trait Implementations§
impl Freeze for DisplayTarget
impl RefUnwindSafe for DisplayTarget
impl Send for DisplayTarget
impl Sync for DisplayTarget
impl Unpin for DisplayTarget
impl UnsafeUnpin for DisplayTarget
impl UnwindSafe for DisplayTarget
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