Enum conrod::input::MouseButton[][src]

pub enum MouseButton {
    Unknown,
    Left,
    Right,
    Middle,
    X1,
    X2,
    Button6,
    Button7,
    Button8,
}

Represent a mouse button.

Variants

Unknown mouse button.

Left mouse button.

Right mouse button.

Middle mouse button.

Extra mouse button number 1.

Extra mouse button number 2.

Mouse button number 6.

Mouse button number 7.

Mouse button number 8.

Trait Implementations

impl PartialOrd<MouseButton> for MouseButton
[src]

This method returns an ordering between self and other values if one exists. Read more

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

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

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

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

impl Hash for MouseButton
[src]

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

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

impl Clone for MouseButton
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MouseButton
[src]

Formats the value using the given formatter. Read more

impl Ord for MouseButton
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl From<MouseButton> for Button
[src]

Performs the conversion.

impl From<u32> for MouseButton
[src]

Performs the conversion.

impl From<MouseButton> for u32
[src]

Performs the conversion.

impl Serialize for MouseButton
[src]

Serialize this value into the given Serde serializer. Read more

impl Copy for MouseButton
[src]

impl Eq for MouseButton
[src]

impl PartialEq<MouseButton> for MouseButton
[src]

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

This method tests for !=.

impl<'de> Deserialize<'de> for MouseButton
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Index<Button> for ButtonMap
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

Auto Trait Implementations

impl Send for MouseButton

impl Sync for MouseButton