Enum pty_proc::shell::device::control::operate::mouse::code::Code [] [src]

#[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
[src]

[src]

Trait Implementations

impl Clone for Code
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Code
[src]

impl Debug for Code
[src]

[src]

Formats the value using the given formatter. Read more

impl Hash for Code
[src]

[src]

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

1.3.0
[src]

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

impl Eq for Code
[src]

impl PartialEq for Code
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl From<u8> for Code
[src]

[src]

Performs the conversion.

impl Default for Code
[src]

[src]

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