Struct allegro::KeyModifier []

pub struct KeyModifier {
    // some fields omitted
}

Methods

impl KeyModifier

fn get(&self) -> u32

Trait Implementations

impl Clone for KeyModifier

fn clone(&self) -> KeyModifier

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for KeyModifier

impl Flag for KeyModifier

fn zero() -> KeyModifier

impl BitOr for KeyModifier

type Output = KeyModifier

The resulting type after applying the | operator

fn bitor(self, e: KeyModifier) -> KeyModifier

The method for the | operator

impl BitAnd for KeyModifier

type Output = bool

The resulting type after applying the & operator

fn bitand(self, e: KeyModifier) -> bool

The method for the & operator