Struct ExAddShortcut
pub struct ExAddShortcut<'a> { /* private fields */ }
Expand description
Default-param extender for PopupMenu::add_shortcut_ex
.
Implementations§
§impl<'a> ExAddShortcut<'a>
impl<'a> ExAddShortcut<'a>
pub fn id(self, id: i32) -> ExAddShortcut<'a>
pub fn global(self, global: bool) -> ExAddShortcut<'a>
pub fn allow_echo(self, allow_echo: bool) -> ExAddShortcut<'a>
pub fn done(self)
Auto Trait Implementations§
impl<'a> Freeze for ExAddShortcut<'a>
impl<'a> RefUnwindSafe for ExAddShortcut<'a>
impl<'a> !Send for ExAddShortcut<'a>
impl<'a> !Sync for ExAddShortcut<'a>
impl<'a> Unpin for ExAddShortcut<'a>
impl<'a> !UnwindSafe for ExAddShortcut<'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