pub struct DefaultKeybinding {
pub platform: PlatformFilter,
pub sequence: Vec<KeyChord>,
pub when: Option<WhenExpr>,
}Fields§
§platform: PlatformFilter§sequence: Vec<KeyChord>§when: Option<WhenExpr>Implementations§
Source§impl DefaultKeybinding
impl DefaultKeybinding
pub fn single(platform: PlatformFilter, chord: KeyChord) -> Self
Trait Implementations§
Source§impl Clone for DefaultKeybinding
impl Clone for DefaultKeybinding
Source§fn clone(&self) -> DefaultKeybinding
fn clone(&self) -> DefaultKeybinding
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 moreAuto Trait Implementations§
impl Freeze for DefaultKeybinding
impl RefUnwindSafe for DefaultKeybinding
impl Send for DefaultKeybinding
impl Sync for DefaultKeybinding
impl Unpin for DefaultKeybinding
impl UnsafeUnpin for DefaultKeybinding
impl UnwindSafe for DefaultKeybinding
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