pub struct ModifierToStringArgs<'a> {
pub separator: &'a str,
pub want_none: bool,
pub ui_key_cap_rendering: Option<UIKeyCapRendering>,
}
Fields§
§separator: &'a str
How to join two modifier keys. Can be empty.
want_none: bool
Whether to output NONE when no modifiers are present
ui_key_cap_rendering: Option<UIKeyCapRendering>
How to render the keycaps for the UI
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ModifierToStringArgs<'a>
impl<'a> Send for ModifierToStringArgs<'a>
impl<'a> Sync for ModifierToStringArgs<'a>
impl<'a> Unpin for ModifierToStringArgs<'a>
impl<'a> UnwindSafe for ModifierToStringArgs<'a>
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