pub struct ActionHandle { /* private fields */ }Expand description
A handle which represents a desktop application action.
Implementations§
Source§impl ActionHandle
impl ActionHandle
Sourcepub fn name(&self) -> String
pub fn name(&self) -> String
Returns the name of the action.
For example: Launch in new window.
Sourcepub fn name_locale(&self) -> String
pub fn name_locale(&self) -> String
Returns the localized name of the action.
Sourcepub fn icon_locale(&self) -> Option<String>
pub fn icon_locale(&self) -> Option<String>
Returns the localized icon of the action.
Auto Trait Implementations§
impl Freeze for ActionHandle
impl RefUnwindSafe for ActionHandle
impl Send for ActionHandle
impl Sync for ActionHandle
impl Unpin for ActionHandle
impl UnsafeUnpin for ActionHandle
impl UnwindSafe for ActionHandle
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