#[repr(C)]pub struct sfKeyEvent {
pub type_: sfEventType,
pub code: sfKeyCode,
pub alt: sfBool,
pub control: sfBool,
pub shift: sfBool,
pub system: sfBool,
}
Fields§
§type_: sfEventType
§code: sfKeyCode
§alt: sfBool
§control: sfBool
§shift: sfBool
§system: sfBool
Trait Implementations§
Source§impl Clone for sfKeyEvent
impl Clone for sfKeyEvent
Source§fn clone(&self) -> sfKeyEvent
fn clone(&self) -> sfKeyEvent
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 moreSource§impl Debug for sfKeyEvent
impl Debug for sfKeyEvent
Source§impl Hash for sfKeyEvent
impl Hash for sfKeyEvent
Source§impl Ord for sfKeyEvent
impl Ord for sfKeyEvent
Source§fn cmp(&self, other: &sfKeyEvent) -> Ordering
fn cmp(&self, other: &sfKeyEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for sfKeyEvent
impl PartialEq for sfKeyEvent
Source§impl PartialOrd for sfKeyEvent
impl PartialOrd for sfKeyEvent
impl Copy for sfKeyEvent
impl Eq for sfKeyEvent
impl StructuralPartialEq for sfKeyEvent
Auto Trait Implementations§
impl Freeze for sfKeyEvent
impl RefUnwindSafe for sfKeyEvent
impl Send for sfKeyEvent
impl Sync for sfKeyEvent
impl Unpin for sfKeyEvent
impl UnwindSafe for sfKeyEvent
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