Struct allegro_sys::keyboard::ALLEGRO_KEYBOARD_STATE
source · #[repr(C)]pub struct ALLEGRO_KEYBOARD_STATE {
pub display: *mut ALLEGRO_DISPLAY,
pub __key_down__internal__: [c_uint; 8],
}
Fields
display: *mut ALLEGRO_DISPLAY
__key_down__internal__: [c_uint; 8]
Trait Implementations
sourceimpl Clone for ALLEGRO_KEYBOARD_STATE
impl Clone for ALLEGRO_KEYBOARD_STATE
sourcefn clone(&self) -> ALLEGRO_KEYBOARD_STATE
fn clone(&self) -> ALLEGRO_KEYBOARD_STATE
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ALLEGRO_KEYBOARD_STATE
Auto Trait Implementations
impl RefUnwindSafe for ALLEGRO_KEYBOARD_STATE
impl !Send for ALLEGRO_KEYBOARD_STATE
impl !Sync for ALLEGRO_KEYBOARD_STATE
impl Unpin for ALLEGRO_KEYBOARD_STATE
impl UnwindSafe for ALLEGRO_KEYBOARD_STATE
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more