pub struct KeyCapView {
pub key: Key,
pub role: KeyRole,
}Expand description
One key of the keyboard and what it does in a layout.
Fields§
§key: KeyThe key.
role: KeyRoleWhat it does.
Trait Implementations§
Source§impl Clone for KeyCapView
impl Clone for KeyCapView
Source§fn clone(&self) -> KeyCapView
fn clone(&self) -> KeyCapView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeyCapView
Source§impl Debug for KeyCapView
impl Debug for KeyCapView
impl Eq for KeyCapView
Source§impl PartialEq for KeyCapView
impl PartialEq for KeyCapView
impl StructuralPartialEq for KeyCapView
Auto Trait Implementations§
impl Freeze for KeyCapView
impl RefUnwindSafe for KeyCapView
impl Send for KeyCapView
impl Sync for KeyCapView
impl Unpin for KeyCapView
impl UnsafeUnpin for KeyCapView
impl UnwindSafe for KeyCapView
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