Enum minifb::KeyRepeat [] [src]

pub enum KeyRepeat {
    Yes,
    No,
}

Used for is_key_pressed and get_keys_pressed() to indicated if repeat of presses is wanted

Variants

Yes

Use repeat

No

Don't use repeat

Trait Implementations

impl Copy for KeyRepeat
[src]

impl Clone for KeyRepeat
[src]

fn clone(&self) -> KeyRepeat

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 PartialEq for KeyRepeat
[src]

fn eq(&self, __arg_0: &KeyRepeat) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.