#[non_exhaustive]pub struct CaptureRequest {
pub include_tree: bool,
pub include_screenshot: bool,
pub max_nodes: usize,
pub max_depth: usize,
}Expand description
Parameters for Backend::capture.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.include_tree: boolWalk the accessibility tree.
include_screenshot: boolCapture window pixels.
max_nodes: usizeMaximum raw nodes to visit.
max_depth: usizeMaximum depth to visit.
Implementations§
Trait Implementations§
Source§impl Clone for CaptureRequest
impl Clone for CaptureRequest
impl Copy for CaptureRequest
Source§impl Debug for CaptureRequest
impl Debug for CaptureRequest
impl Eq for CaptureRequest
Source§impl PartialEq for CaptureRequest
impl PartialEq for CaptureRequest
impl StructuralPartialEq for CaptureRequest
Auto Trait Implementations§
impl Freeze 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§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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