Struct godot::classes::popup_menu::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, value: i32) -> ExAddShortcut<'a>
pub fn global(self, value: bool) -> ExAddShortcut<'a>
pub fn allow_echo(self, value: 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