[−][src]Struct keyberon::matrix::PressedKeys
Implementations
impl<U, V> PressedKeys<U, V> where
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
[src]
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
pub fn iter_pressed<'a>(
&'a self
) -> impl Iterator<Item = (usize, usize)> + Clone + 'a
[src]
&'a self
) -> impl Iterator<Item = (usize, usize)> + Clone + 'a
Trait Implementations
impl<U: Default, V: Default> Default for PressedKeys<U, V> where
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
[src]
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
fn default() -> PressedKeys<U, V>
[src]
impl<U: Eq, V: Eq> Eq for PressedKeys<U, V> where
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
[src]
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
impl<'a, U, V> IntoIterator for &'a PressedKeys<U, V> where
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
U: ArrayLength<&'a GenericArray<bool, V>>,
[src]
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
U: ArrayLength<&'a GenericArray<bool, V>>,
type IntoIter = Iter<'a, GenericArray<bool, V>>
Which kind of iterator are we turning this into?
type Item = &'a GenericArray<bool, V>
The type of the elements being iterated over.
fn into_iter(self) -> Self::IntoIter
[src]
impl<U: PartialEq, V: PartialEq> PartialEq<PressedKeys<U, V>> for PressedKeys<U, V> where
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
[src]
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
fn eq(&self, other: &PressedKeys<U, V>) -> bool
[src]
fn ne(&self, other: &PressedKeys<U, V>) -> bool
[src]
impl<U, V> StructuralEq for PressedKeys<U, V> where
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
[src]
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
impl<U, V> StructuralPartialEq for PressedKeys<U, V> where
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
[src]
V: ArrayLength<bool>,
U: ArrayLength<GenericArray<bool, V>>,
Auto Trait Implementations
impl<U, V> Send for PressedKeys<U, V>
impl<U, V> Sync for PressedKeys<U, V>
impl<U, V> Unpin for PressedKeys<U, V> where
<U as ArrayLength<GenericArray<bool, V>>>::ArrayType: Unpin,
<U as ArrayLength<GenericArray<bool, V>>>::ArrayType: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,