#[repr(C)]pub struct _NVFBC_BOX {
pub x: u32,
pub y: u32,
pub w: u32,
pub h: u32,
}Expand description
Box used to describe an area of the tracked region to capture.
The coordinates are relative to the tracked region.
E.g., if the size of the X screen is 3520x1200 and the tracked RandR output scans a region of 1600x1200+1920+0, then setting a capture box of 800x600+100+50 effectively captures a region of 800x600+2020+50 relative to the X screen.
Fields§
§x: u32[in] X offset of the box.
y: u32[in] Y offset of the box.
w: u32[in] Width of the box.
h: u32[in] Height of the box.
Trait Implementations§
Source§impl Clone for _NVFBC_BOX
impl Clone for _NVFBC_BOX
Source§fn clone(&self) -> _NVFBC_BOX
fn clone(&self) -> _NVFBC_BOX
Returns a duplicate 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 _NVFBC_BOX
impl Debug for _NVFBC_BOX
impl Copy for _NVFBC_BOX
Auto Trait Implementations§
impl Freeze for _NVFBC_BOX
impl RefUnwindSafe for _NVFBC_BOX
impl Send for _NVFBC_BOX
impl Sync for _NVFBC_BOX
impl Unpin for _NVFBC_BOX
impl UnwindSafe for _NVFBC_BOX
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