pub struct Keys2<K0: Key<Context = Ctx, Event = Ev, PendingKeyState = PKS, KeyState = KS>, K1: Key<Context = Ctx, Event = Ev, PendingKeyState = PKS, KeyState = KS>, Ctx, Ev, PKS, KS, const M: usize = { crate::key::MAX_KEY_EVENTS }>(/* private fields */);
Expand description
A tuple struct for some number of keys.
Implementations§
Trait Implementations§
Source§impl<K0: Debug + Key<Context = Ctx, Event = Ev, PendingKeyState = PKS, KeyState = KS>, K1: Debug + Key<Context = Ctx, Event = Ev, PendingKeyState = PKS, KeyState = KS>, Ctx: Debug, Ev: Debug, PKS: Debug, KS: Debug, const M: usize> Debug for Keys2<K0, K1, Ctx, Ev, PKS, KS, M>
impl<K0: Debug + Key<Context = Ctx, Event = Ev, PendingKeyState = PKS, KeyState = KS>, K1: Debug + Key<Context = Ctx, Event = Ev, PendingKeyState = PKS, KeyState = KS>, Ctx: Debug, Ev: Debug, PKS: Debug, KS: Debug, const M: usize> Debug for Keys2<K0, K1, Ctx, Ev, PKS, KS, M>
Auto Trait Implementations§
impl<K0, K1, Ctx, Ev, PKS, KS, const M: usize> Freeze for Keys2<K0, K1, Ctx, Ev, PKS, KS, M>
impl<K0, K1, Ctx, Ev, PKS, KS, const M: usize> RefUnwindSafe for Keys2<K0, K1, Ctx, Ev, PKS, KS, M>where
K0: RefUnwindSafe,
K1: RefUnwindSafe,
impl<K0, K1, Ctx, Ev, PKS, KS, const M: usize> Send for Keys2<K0, K1, Ctx, Ev, PKS, KS, M>
impl<K0, K1, Ctx, Ev, PKS, KS, const M: usize> Sync for Keys2<K0, K1, Ctx, Ev, PKS, KS, M>
impl<K0, K1, Ctx, Ev, PKS, KS, const M: usize> Unpin for Keys2<K0, K1, Ctx, Ev, PKS, KS, M>
impl<K0, K1, Ctx, Ev, PKS, KS, const M: usize> UnwindSafe for Keys2<K0, K1, Ctx, Ev, PKS, KS, M>where
K0: UnwindSafe,
K1: 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