Enum winsafe::MenuEnum[][src]

pub enum MenuEnum<'a> {
    Entry(u16, &'a str),
    Separator,
    Submenu(HMENU, &'a str),
}
Expand description

Variant parameter for:

Variants

Entry(u16, &'a str)

A selectable entry item, with command ID and text.

Tuple Fields of Entry

0: u161: &'a str
Separator

A separator.

Submenu(HMENU, &'a str)

A submenu, with its entry text.

Tuple Fields of Submenu

0: HMENU1: &'a str

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.