pub struct Key<R, const MAX_OVERLAPPING: usize>where
R: Copy,{
pub sequences: Slice<(u8, R), MAX_OVERLAPPING>,
pub passthrough: R,
}Expand description
Primary sequence key: bindings + passthrough.
Fields§
§sequences: Slice<(u8, R), MAX_OVERLAPPING>Sequences for which this key is primary (lowest index), with bound keys.
passthrough: RKey when sequence mode is inactive.
Implementations§
Trait Implementations§
Source§impl<'de, R, const MAX_OVERLAPPING: usize> Deserialize<'de> for Key<R, MAX_OVERLAPPING>where
R: Copy + Deserialize<'de>,
impl<'de, R, const MAX_OVERLAPPING: usize> Deserialize<'de> for Key<R, MAX_OVERLAPPING>where
R: Copy + Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Key<R, MAX_OVERLAPPING>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Key<R, MAX_OVERLAPPING>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<R, const MAX_OVERLAPPING: usize> PartialEq for Key<R, MAX_OVERLAPPING>
impl<R, const MAX_OVERLAPPING: usize> PartialEq for Key<R, MAX_OVERLAPPING>
impl<R, const MAX_OVERLAPPING: usize> Copy for Key<R, MAX_OVERLAPPING>where
R: Copy,
impl<R, const MAX_OVERLAPPING: usize> StructuralPartialEq for Key<R, MAX_OVERLAPPING>where
R: Copy,
Auto Trait Implementations§
impl<R, const MAX_OVERLAPPING: usize> Freeze for Key<R, MAX_OVERLAPPING>where
R: Freeze,
impl<R, const MAX_OVERLAPPING: usize> RefUnwindSafe for Key<R, MAX_OVERLAPPING>where
R: RefUnwindSafe,
impl<R, const MAX_OVERLAPPING: usize> Send for Key<R, MAX_OVERLAPPING>where
R: Send,
impl<R, const MAX_OVERLAPPING: usize> Sync for Key<R, MAX_OVERLAPPING>where
R: Sync,
impl<R, const MAX_OVERLAPPING: usize> Unpin for Key<R, MAX_OVERLAPPING>where
R: Unpin,
impl<R, const MAX_OVERLAPPING: usize> UnsafeUnpin for Key<R, MAX_OVERLAPPING>where
R: UnsafeUnpin,
impl<R, const MAX_OVERLAPPING: usize> UnwindSafe for Key<R, MAX_OVERLAPPING>where
R: 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