pub struct BuiltInKeyCommandOverride {
pub name: String,
pub action: BindingAction,
pub modifiers: Vec<Modifier>,
pub key: Key,
}Expand description
Override the key binding for a built-in compositor action.
Fields§
§name: StringName of the built-in action (e.g. "terminal", "close_window").
action: BindingActionThe keyboard event phase that triggers this binding.
modifiers: Vec<Modifier>The modifier keys required for this binding.
key: KeyThe XKB keysym name.
Trait Implementations§
Source§impl Clone for BuiltInKeyCommandOverride
impl Clone for BuiltInKeyCommandOverride
Source§fn clone(&self) -> BuiltInKeyCommandOverride
fn clone(&self) -> BuiltInKeyCommandOverride
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 BuiltInKeyCommandOverride
impl Debug for BuiltInKeyCommandOverride
Auto Trait Implementations§
impl Freeze for BuiltInKeyCommandOverride
impl RefUnwindSafe for BuiltInKeyCommandOverride
impl Send for BuiltInKeyCommandOverride
impl Sync for BuiltInKeyCommandOverride
impl Unpin for BuiltInKeyCommandOverride
impl UnwindSafe for BuiltInKeyCommandOverride
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