Struct conrod::input::ModifierKey [] [src]

pub struct ModifierKey { /* fields omitted */ }

Methods

impl ModifierKey
[src]

[src]

Change modifier key state depending on input.

If the left or side button is released, it counts as a release.

impl ModifierKey
[src]

[src]

Returns an empty set of flags.

[src]

Returns the set containing all flags.

[src]

Returns the raw value of the flags currently stored.

[src]

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

[src]

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

[src]

Returns true if no flags are currently stored.

[src]

Returns true if all flags are currently set.

[src]

Returns true if there are flags common to both self and other.

[src]

Returns true all of the flags in other are contained within self.

[src]

Inserts the specified flags in-place.

[src]

Removes the specified flags in-place.

[src]

Toggles the specified flags in-place.

[src]

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl Sub<ModifierKey> for ModifierKey
[src]

The resulting type after applying the - operator.

[src]

Returns the set difference of the two sets of flags.

impl Clone for ModifierKey
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Not for ModifierKey
[src]

[src]

Returns the complement of this set of flags.

impl Copy for ModifierKey
[src]

impl BitXor<ModifierKey> for ModifierKey
[src]

[src]

Returns the left flags, but with all the right flags toggled.

impl Binary for ModifierKey
[src]

[src]

impl Debug for ModifierKey
[src]

[src]

Formats the value using the given formatter.

impl BitOr<ModifierKey> for ModifierKey
[src]

[src]

Returns the union of the two sets of flags.

impl BitOrAssign<ModifierKey> for ModifierKey
[src]

[src]

Adds the set of flags.

impl FromIterator<ModifierKey> for ModifierKey
[src]

[src]

impl Eq for ModifierKey
[src]

impl PartialEq<ModifierKey> for ModifierKey
[src]

[src]

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

[src]

This method tests for !=.

impl SubAssign<ModifierKey> for ModifierKey
[src]

[src]

Disables all flags enabled in the set.

impl Serialize for ModifierKey
[src]

[src]

impl Hash for ModifierKey
[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<'de> Deserialize<'de> for ModifierKey
[src]

[src]

impl BitAnd<ModifierKey> for ModifierKey
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<ModifierKey> for ModifierKey
[src]

[src]

Toggles the set of flags.

impl BitAndAssign<ModifierKey> for ModifierKey
[src]

[src]

Disables all flags disabled in the set.

impl PartialOrd<ModifierKey> for ModifierKey
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

impl Extend<ModifierKey> for ModifierKey
[src]

[src]

impl Ord for ModifierKey
[src]

[src]

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

[src]

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

Compares and returns the maximum of two values. Read more

[src]

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

Compares and returns the minimum of two values. Read more

impl Default for ModifierKey
[src]

[src]

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

impl LowerHex for ModifierKey
[src]

[src]

impl UpperHex for ModifierKey
[src]

[src]

impl Octal for ModifierKey
[src]

[src]