pub enum Relation {
Controls(NodeId),
DescribedBy(NodeId),
LabelledBy(NodeId),
ActiveDescendant(NodeId),
}Expand description
A relation between nodes (the edges a screen reader traverses).
Variants§
Controls(NodeId)
This node controls the target (e.g. a toggle controls a panel).
DescribedBy(NodeId)
The target describes this node (an error message).
LabelledBy(NodeId)
The target names this node.
ActiveDescendant(NodeId)
The focused control’s current suggestion (combobox autocomplete).
Trait Implementations§
impl Copy for Relation
impl Eq for Relation
impl StructuralPartialEq for Relation
Auto Trait Implementations§
impl Freeze for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnsafeUnpin for Relation
impl UnwindSafe for Relation
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