pub struct Keys1<K0: Key<Context = Ctx, Event = Ev, PressedKey = PK>, Ctx, Ev, PK, const M: usize = { crate::key::MAX_KEY_EVENTS }>(/* private fields */);
Expand description
A tuple struct for 1 key.
Implementations§
Trait Implementations§
Source§impl<K0: Debug + Key<Context = Ctx, Event = Ev, PressedKey = PK>, Ctx: Debug, Ev: Debug, PK: Debug, const M: usize> Debug for Keys1<K0, Ctx, Ev, PK, M>
impl<K0: Debug + Key<Context = Ctx, Event = Ev, PressedKey = PK>, Ctx: Debug, Ev: Debug, PK: Debug, const M: usize> Debug for Keys1<K0, Ctx, Ev, PK, M>
Auto Trait Implementations§
impl<K0, Ctx, Ev, PK, const M: usize> Freeze for Keys1<K0, Ctx, Ev, PK, M>where
K0: Freeze,
impl<K0, Ctx, Ev, PK, const M: usize> RefUnwindSafe for Keys1<K0, Ctx, Ev, PK, M>where
K0: RefUnwindSafe,
impl<K0, Ctx, Ev, PK, const M: usize> Send for Keys1<K0, Ctx, Ev, PK, M>where
K0: Send,
impl<K0, Ctx, Ev, PK, const M: usize> Sync for Keys1<K0, Ctx, Ev, PK, M>where
K0: Sync,
impl<K0, Ctx, Ev, PK, const M: usize> Unpin for Keys1<K0, Ctx, Ev, PK, M>where
K0: Unpin,
impl<K0, Ctx, Ev, PK, const M: usize> UnwindSafe for Keys1<K0, Ctx, Ev, PK, M>where
K0: UnwindSafe,
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