abstract struct SF::Event::KeyEvent
inherits SF::Event
#
Keyboard event parameters (see KeyPressed
, KeyReleased
)
Direct known subclasses
SF::Event::KeyPressed
SF::Event::KeyReleased
Constructors#
Methods#
#dup : KeyEvent
#
Returns a shallow copy of this object.
Because Value
is a value type, this method returns self
,
which already involves a shallow copy of this object because
value types are passed by value.