pub struct AccessibilitySnapshotOptions {
pub root: Option<ElementHandle>,
pub interesting_only: bool,
pub max_depth: Option<u32>,
}Expand description
Options used when generating accessibility snapshots.
Fields§
§root: Option<ElementHandle>§interesting_only: bool§max_depth: Option<u32>Implementations§
Source§impl AccessibilitySnapshotOptions
impl AccessibilitySnapshotOptions
pub fn with_root(self, element: ElementHandle) -> Self
pub fn with_interesting_only(self, interesting_only: bool) -> Self
pub fn with_max_depth(self, depth: u32) -> Self
Trait Implementations§
Source§impl Clone for AccessibilitySnapshotOptions
impl Clone for AccessibilitySnapshotOptions
Source§fn clone(&self) -> AccessibilitySnapshotOptions
fn clone(&self) -> AccessibilitySnapshotOptions
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 moreAuto Trait Implementations§
impl Freeze for AccessibilitySnapshotOptions
impl !RefUnwindSafe for AccessibilitySnapshotOptions
impl Send for AccessibilitySnapshotOptions
impl Sync for AccessibilitySnapshotOptions
impl Unpin for AccessibilitySnapshotOptions
impl !UnwindSafe for AccessibilitySnapshotOptions
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