Enum winsafe::AccelMenuCtrl[][src]

pub enum AccelMenuCtrl {
    Accel(u16),
    Menu(u16),
    Ctrl(AccelMenuCtrlData),
}
Expand description

Variant parameters of a wm::Command message.

Variants

Accel(u16)

Accelerator event. Contains the accelerator command ID.

Tuple Fields of Accel

0: u16
Menu(u16)

Menu item click event. Contains the menu item command ID.

Tuple Fields of Menu

0: u16

Some child control event. Contains AccelMenuCtrlData data.

Tuple Fields of Ctrl

0: AccelMenuCtrlData

Implementations

Returns the notification code and the control ID pair.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.