pub struct CaptureRequest {
pub id: u64,
pub source: CaptureSource,
pub live: bool,
pub paint_cursors: bool,
pub size: Size,
}Expand description
One view the platform captures for, from Window::captures.
Fields§
§id: u64Names the view while it is in a window. Never reused.
source: CaptureSourceWhat it shows.
live: boolWhether it shows each new frame.
paint_cursors: boolWhether the pointer is drawn into the frames.
size: SizeThe view’s content box at the last layout, in logical pixels: a frame needn’t be larger.
Trait Implementations§
Source§impl Clone for CaptureRequest
impl Clone for CaptureRequest
Source§impl Debug for CaptureRequest
impl Debug for CaptureRequest
Source§impl PartialEq for CaptureRequest
impl PartialEq for CaptureRequest
impl StructuralPartialEq for CaptureRequest
Auto Trait Implementations§
impl Forget for CaptureRequest
impl Freeze for CaptureRequest
impl Move for CaptureRequest
impl RefUnwindSafe for CaptureRequest
impl Send for CaptureRequest
impl Sync for CaptureRequest
impl Unpin for CaptureRequest
impl UnsafeUnpin for CaptureRequest
impl UnwindSafe for CaptureRequest
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