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