pub struct ComboDefinition<const MAX_SOURCES: usize> {
pub src: [Option<KeyCode>; MAX_SOURCES],
pub dst: KeyCode,
}
Fields§
§src: [Option<KeyCode>; MAX_SOURCES]
§dst: KeyCode
Trait Implementations§
Source§impl<const MAX_SOURCES: usize> Clone for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> Clone for ComboDefinition<MAX_SOURCES>
Source§fn clone(&self) -> ComboDefinition<MAX_SOURCES>
fn clone(&self) -> ComboDefinition<MAX_SOURCES>
Returns a copy 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<const MAX_SOURCES: usize> Debug for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> Debug for ComboDefinition<MAX_SOURCES>
Source§impl<const MAX_SOURCES: usize> Format for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> Format for ComboDefinition<MAX_SOURCES>
Source§impl<const MAX_SOURCES: usize> PartialEq for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> PartialEq for ComboDefinition<MAX_SOURCES>
Source§fn eq(&self, other: &ComboDefinition<MAX_SOURCES>) -> bool
fn eq(&self, other: &ComboDefinition<MAX_SOURCES>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<const MAX_SOURCES: usize> Eq for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> StructuralPartialEq for ComboDefinition<MAX_SOURCES>
Auto Trait Implementations§
impl<const MAX_SOURCES: usize> Freeze for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> RefUnwindSafe for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> Send for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> Sync for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> Unpin for ComboDefinition<MAX_SOURCES>
impl<const MAX_SOURCES: usize> UnwindSafe for ComboDefinition<MAX_SOURCES>
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