pub struct Layer(/* private fields */);
Expand description
An abstraction of Vec<Vec<Key>>
to represent a layer on a layout.
Implementations§
source§impl Layer
impl Layer
Trait Implementations§
source§impl<'de> Deserialize<'de> for Layer
impl<'de> Deserialize<'de> for Layer
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Keyboard for Layer
impl Keyboard for Layer
source§fn rows(&self) -> impl Iterator<Item = &Vec<Self::K>>
fn rows(&self) -> impl Iterator<Item = &Vec<Self::K>>
Get an iterator over each row of the keyboard.
source§fn keys(&self) -> impl Iterator<Item = &Self::K>
fn keys(&self) -> impl Iterator<Item = &Self::K>
Get an iterator over the individual keys of the keyboard.
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)