pub enum Role {
Show 26 variants
Doc,
Btn,
Lnk,
Tf,
Ta,
Sel,
Chk,
Rad,
Img,
Hd,
P,
Li,
Lst,
Tbl,
Row,
Cell,
Hdr,
Nav,
Frm,
Dlg,
Itm,
Sec,
Art,
Mn,
Ifr,
El,
}Expand description
A11y role code as it appears on the wire.
Variants§
Doc
Btn
Lnk
Tf
Ta
Sel
Chk
Rad
Img
Hd
P
Li
Lst
Tbl
Row
Cell
Hdr
Frm
Dlg
Itm
Sec
Art
Mn
Ifr
An embedded frame (<iframe> / <frame> / <embed> /
<object>). Its label is the frame’s resolved src, which
is otherwise invisible to an agent: the walker cannot cross
into the frame’s document, so without this the node — and
with it the URL of whatever is embedded — simply vanished
from the tree.
El
Implementations§
Trait Implementations§
impl Copy for Role
impl Eq for Role
Source§impl Ord for Role
impl Ord for Role
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Role
impl PartialOrd for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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