#[repr(C)]pub struct SDL_keysym {
pub scancode: uint8_t,
pub sym: SDLKey,
pub _mod: SDLMod,
pub unicode: uint16_t,
}Fields§
§scancode: uint8_t§sym: SDLKey§_mod: SDLMod§unicode: uint16_tTrait Implementations§
Source§impl Clone for SDL_keysym
impl Clone for SDL_keysym
Source§fn clone(&self) -> SDL_keysym
fn clone(&self) -> SDL_keysym
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SDL_keysym
Auto Trait Implementations§
impl Freeze for SDL_keysym
impl RefUnwindSafe for SDL_keysym
impl Send for SDL_keysym
impl Sync for SDL_keysym
impl Unpin for SDL_keysym
impl UnwindSafe for SDL_keysym
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more