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