pub struct Kbd { /* private fields */ }Expand description
A keyboard key: Kbd!["⌘", "K"] renders two keys.
assert!(render_static(Kbd!["Ctrl", "K"]).contains(r#"<kbd class="nr-kbd"><kbd>Ctrl</kbd><kbd>K</kbd></kbd>"#));Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Kbd
impl !Sync for Kbd
impl !UnwindSafe for Kbd
impl Forget for Kbd
impl Freeze for Kbd
impl Move for Kbd
impl Send for Kbd
impl Unpin for Kbd
impl UnsafeUnpin 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