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