Struct gio::ActionEntry
source · pub struct ActionEntry<O>{ /* private fields */ }
Expand description
This struct defines a single action. It is for use with
ActionMapExtManual::add_action_entries()
.
The order of the items in the structure are intended to reflect
frequency of use. It is permissible to use an incomplete initialiser
in order to leave some of the later values as None
. All values
after name
are optional. Additional optional fields may be added in
the future.
See ActionMapExtManual::add_action_entries()
for an example.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<O> !RefUnwindSafe for ActionEntry<O>
impl<O> !Send for ActionEntry<O>
impl<O> !Sync for ActionEntry<O>
impl<O> Unpin for ActionEntry<O>
impl<O> !UnwindSafe for ActionEntry<O>
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