Struct ggez::event::Mod [] [src]

pub struct Mod { /* fields omitted */ }

Methods

impl Mod
[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.

Trait Implementations

impl Ord for Mod
[src]

[src]

impl Copy for Mod
[src]

impl Hash for Mod
[src]

[src]

impl Not for Mod
[src]

[src]

Returns the complement of this set of flags.

impl Clone for Mod
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BitXor<Mod> for Mod
[src]

[src]

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

impl BitOr<Mod> for Mod
[src]

[src]

Returns the union of the two sets of flags.

impl BitOrAssign<Mod> for Mod
[src]

[src]

Adds the set of flags.

impl BitAndAssign<Mod> for Mod
[src]

[src]

Disables all flags disabled in the set.

impl PartialEq<Mod> for Mod
[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 Debug for Mod
[src]

[src]

Formats the value using the given formatter.

impl Extend<Mod> for Mod
[src]

[src]

impl SubAssign<Mod> for Mod
[src]

[src]

Disables all flags enabled in the set.

impl BitAnd<Mod> for Mod
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<Mod> for Mod
[src]

[src]

Toggles the set of flags.

impl Eq for Mod
[src]

impl FromIterator<Mod> for Mod
[src]

[src]

impl Sub<Mod> for Mod
[src]

[src]

Returns the set difference of the two sets of flags.

impl PartialOrd<Mod> for Mod
[src]

[src]

[src]

[src]

[src]

[src]