[][src]Enum typed_html::types::Role

pub enum Role {
    Any,
    Alert,
    AlertDialog,
    Application,
    Article,
    Banner,
    Checkbox,
    Cell,
    ColumnHeader,
    ComboBox,
    Complementary,
    ContentInfo,
    Definition,
    Dialog,
    Directory,
    Document,
    Feed,
    Figure,
    Form,
    Grid,
    GridCell,
    Group,
    Heading,
    Image,
    Link,
    List,
    ListBox,
    ListItem,
    Log,
    Main,
    Marquee,
    Math,
    Menu,
    MenuBar,
    MenuItem,
    MenuItemCheckbox,
    MenuItemRadio,
    Navigation,
    None,
    Note,
    Option,
    Presentation,
    ProgressBar,
    Radio,
    RadioGroup,
    Region,
    Row,
    RowGroup,
    RowHeader,
    ScrollBar,
    Search,
    SearchBox,
    Separator,
    Slider,
    SpinButton,
    Status,
    Switch,
    Tab,
    Table,
    TabList,
    TabPanel,
    Term,
    TextBox,
    Timer,
    ToolBar,
    ToolTip,
    Tree,
    TreeGrid,
}

Variants

AnyAlertAlertDialogApplicationArticleBannerCheckboxCellColumnHeaderComboBoxComplementaryContentInfoDefinitionDialogDirectoryDocumentFeedFigureFormGridGridCellGroupHeadingImageLinkListListBoxListItemLogMainMarqueeMathMenuMenuBarMenuItemMenuItemCheckboxMenuItemRadioNavigationNoneNoteOptionPresentationProgressBarRadioRadioGroupRegionRowRowGroupRowHeaderScrollBarSearchSearchBoxSeparatorSliderSpinButtonStatusSwitchTabTableTabListTabPanelTermTextBoxTimerToolBarToolTipTreeTreeGrid

Trait Implementations

impl PartialOrd<Role> for Role[src]

#[must_use] fn lt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use] fn le(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use] fn gt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use] fn ge(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<Role> for Role[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Ord for Role[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl AsRef<str> for Role[src]

impl Eq for Role[src]

impl Display for Role[src]

impl FromStr for Role[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl AsStaticRef<str> for Role[src]

Auto Trait Implementations

impl Send for Role

impl Unpin for Role

impl Sync for Role

impl UnwindSafe for Role

impl RefUnwindSafe for Role

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]