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