pub struct DefaultKeyboardActionHandler;Expand description
A simple KeyboardActionHandler that only executes the default behavior.
Trait Implementations§
Source§impl Clone for DefaultKeyboardActionHandler
impl Clone for DefaultKeyboardActionHandler
Source§fn clone(&self) -> DefaultKeyboardActionHandler
fn clone(&self) -> DefaultKeyboardActionHandler
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DefaultKeyboardActionHandler
Source§impl Debug for DefaultKeyboardActionHandler
impl Debug for DefaultKeyboardActionHandler
Source§impl KeyboardActionHandler for DefaultKeyboardActionHandler
impl KeyboardActionHandler for DefaultKeyboardActionHandler
fn on_keyboard_action(&self, perform_default: &dyn Fn())
Auto Trait Implementations§
impl Freeze for DefaultKeyboardActionHandler
impl RefUnwindSafe for DefaultKeyboardActionHandler
impl Send for DefaultKeyboardActionHandler
impl Sync for DefaultKeyboardActionHandler
impl Unpin for DefaultKeyboardActionHandler
impl UnsafeUnpin for DefaultKeyboardActionHandler
impl UnwindSafe for DefaultKeyboardActionHandler
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