Enum neko::prelude::Code []

#[repr(u32)]
pub enum Code { Left, Right, Wheel, WheelUp, WheelDown, LeftDrag, WheelDrag, RightDrag, ShiftLeft, ShiftWheel, ShiftRight, ShiftLeftDrag, ShiftWheelDrag, ShiftRightDrag, CtrlLeft, CtrlWheel, CtrlRight, CtrlWheelUp, CtrlWheelDown, CtrlLeftDrag, CtrlWheelDrag, CtrlRightDrag, ShiftCtrlLeft, ShiftCtrlWheel, ShiftCtrlRight, ShiftCtrlLeftDrag, ShiftCtrlWheelDrag, ShiftCtrlRightDrag, CmdLeft, CmdWheel, CmdRight, CmdWheelUp, CmdWheelDown, CmdLeftDrag, CmdWheelDrag, CmdRightDrag, CmdShiftLeft, CmdShiftWheel, CmdShiftRight, CmdShiftLeftDrag, CmdShiftWheelDrag, CmdShiftRightDrag, CmdCtrlLeft, CmdCtrlWheel, CmdCtrlRight, CmdCtrlWheelUp, CmdCtrlWheelDown, CmdCtrlLeftDrag, CmdCtrlWheelDrag, CmdCtrlRightDrag, CmdShiftCtrlLeft, CmdShiftCtrlWheel, CmdShiftCtrlRight, CmdShiftCtrlLeftDrag, CmdShiftCtrlWheelDrag, CmdShiftCtrlRightDrag, }

Variants

The left mouse button is pressed.

The right mouse button is pressed.

The mouse wheel button is pressed.

The mouse wheel is going up.

The mouse wheel is going down.

The left mouse button is held while moving pointer.

The wheel mouse button is held while moving pointer.

The right mouse button is held while moving pointer.

The left mouse button is pressed while helding Shift.

The wheel mouse button is pressed while helding Shift.

The right mouse button is pressed while helding Shift.

The left mouse button and Shift are held while moving pointer.

The wheel mouse button and Shift are held while moving pointer.

The right mouse button and Shift are held while moving pointer.

The left mouse button is pressed while helding Ctrl

The wheel mouse button is pressed while helding Ctrl

The right mouse button is pressed while helding Ctrl

The mouse wheel is going up while helding Ctrl

The mouse wheel is going down while helding Ctrl

The left mouse button and Ctrl are held while moving pointer

The wheel mouse button and Ctrl are held while moving pointer

The right mouse button and Ctrl are held while moving pointer

The left mouse button is pressed while Ctrl and Shift are held

The wheel mouse button is pressed while Ctrl and Shift are held

The right mouse button is pressed while Ctrl and Shift are held

The left mouse button, Ctrl and Shift are held while moving pointer

The wheel mouse button, Ctrl and Shift are held while moving pointer

The right mouse button, Ctrl and Shift are held while moving pointer

The left mouse button is pressed while helding Command

The wheel mouse button is pressed while helding Command

The right mouse button is pressed while helding Command

The mouse wheel is going up while helding Command

The mouse wheel is going down while helding Command

The left mouse button and Command are held while moving pointer

The wheel mouse button and Command are held while moving pointer

The right mouse button and Command are held while moving pointer

The left mouse button is pressed while helding Command and Shift

The wheel mouse button is pressed while helding Command and Shift

The right mouse button is pressed while helding Command and Shift

The left mouse button, Shift and Command are held while moving pointer

The wheel mouse button, Shift and Command are held while moving pointer

The right mouse button, Shift and Command are held while moving pointer

The left mouse button is pressed while helding Command and Ctrl

The wheel mouse button is pressed while helding Command and Ctrl

The right mouse button is pressed while helding Command and Ctrl

The mouse wheel is going up while helding Command and Ctrl

The mouse wheel is going down while helding Command and Ctrl

The left mouse button, Ctrl and Command are held while moving pointer

The wheel mouse button, Ctrl and Command are held while moving pointer

The right mouse button, Ctrl and Command are held while moving pointer

The left mouse button is pressed while helding Command, Shift and Ctrl

The wheel mouse button is pressed while helding Command, Shift and Ctrl

The right mouse button is pressed while helding Command, Shift and Ctrl

The left mouse button, Ctrl, Shift and Command are held while moving pointer

The wheel mouse button, Ctrl, Shift and Command are held while moving pointer

The right mouse button, Ctrl, Shift and Command are held while moving pointer

Methods

impl Code

Trait Implementations

impl Copy for Code

impl Debug for Code

Formats the value using the given formatter.

impl Eq for Code

impl PartialEq<Code> for Code

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Code

Returns the "default value" for a type. Read more

impl Clone for Code

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Code

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl From<u8> for Code

Performs the conversion.