pub enum AccessSubtreeMode {
Inherit,
Exclude,
Merge,
}Expand description
Subtree visibility / merge mode applied by the accessibility tree walker.
Set via WidgetBuilder::access_exclude_subtree() /
access_merge_subtree(). The walker honors the mode after the parent
node has been emitted, before recursing into descendants.
Variants§
Inherit
Normal walk — descendants emitted as their own AT nodes.
Exclude
Descendants pruned from the AT tree entirely. Parent node still
emitted normally. Equivalent to Flutter’s excludeSemantics: true.
Merge
Descendants’ labels / descriptions / values / actions are
concatenated into the parent’s emitted node, then descendants are
pruned. The parent reads as a single AT element. Equivalent to
Flutter’s mergeAllDescendants: true and SwiftUI’s
.accessibilityElement(children: .combine).
Trait Implementations§
Source§impl Clone for AccessSubtreeMode
impl Clone for AccessSubtreeMode
Source§fn clone(&self) -> AccessSubtreeMode
fn clone(&self) -> AccessSubtreeMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AccessSubtreeMode
Source§impl Debug for AccessSubtreeMode
impl Debug for AccessSubtreeMode
Source§impl Default for AccessSubtreeMode
impl Default for AccessSubtreeMode
Source§fn default() -> AccessSubtreeMode
fn default() -> AccessSubtreeMode
Returns the “default value” for a type. Read more
impl Eq for AccessSubtreeMode
Source§impl PartialEq for AccessSubtreeMode
impl PartialEq for AccessSubtreeMode
impl StructuralPartialEq for AccessSubtreeMode
Auto Trait Implementations§
impl Freeze for AccessSubtreeMode
impl RefUnwindSafe for AccessSubtreeMode
impl Send for AccessSubtreeMode
impl Sync for AccessSubtreeMode
impl Unpin for AccessSubtreeMode
impl UnsafeUnpin for AccessSubtreeMode
impl UnwindSafe for AccessSubtreeMode
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