pub struct Kbd { /* private fields */ }Expand description
Keyboard shortcut display component
§Example
use armas_basic::Kbd;
// Single key
Kbd::new("K").show(ui);
// Key combination (auto-splits on +)
Kbd::new("Ctrl+K").show(ui);Implementations§
Auto Trait Implementations§
impl Freeze for Kbd
impl RefUnwindSafe for Kbd
impl Send for Kbd
impl Sync for Kbd
impl Unpin for Kbd
impl UnsafeUnpin for Kbd
impl UnwindSafe for Kbd
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