Struct ExGlobalMenuAddIconItem
pub struct ExGlobalMenuAddIconItem<'a> { /* private fields */ }
Expand description
Default-param extender for DisplayServer::global_menu_add_icon_item_ex
.
Implementations§
§impl<'a> ExGlobalMenuAddIconItem<'a>
impl<'a> ExGlobalMenuAddIconItem<'a>
pub fn callback(self, value: Callable) -> ExGlobalMenuAddIconItem<'a>
pub fn key_callback(self, value: Callable) -> ExGlobalMenuAddIconItem<'a>
pub fn tag(self, value: Variant) -> ExGlobalMenuAddIconItem<'a>
pub fn accelerator(self, value: Key) -> ExGlobalMenuAddIconItem<'a>
pub fn index(self, value: i32) -> ExGlobalMenuAddIconItem<'a>
pub fn done(self) -> i32
Auto Trait Implementations§
impl<'a> Freeze for ExGlobalMenuAddIconItem<'a>
impl<'a> RefUnwindSafe for ExGlobalMenuAddIconItem<'a>
impl<'a> !Send for ExGlobalMenuAddIconItem<'a>
impl<'a> !Sync for ExGlobalMenuAddIconItem<'a>
impl<'a> Unpin for ExGlobalMenuAddIconItem<'a>
impl<'a> !UnwindSafe for ExGlobalMenuAddIconItem<'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