pub enum ImageExtra {
None,
HotKey(String),
InputKey(i32),
ToolbarIcon(String),
}Expand description
What a tutorial image adds: a key name, an input key, or a toolbar icon.
Variants§
None
Nothing.
HotKey(String)
A toolbar item’s key.
InputKey(i32)
A key-map action’s key.
ToolbarIcon(String)
A toolbar item’s icon.
Trait Implementations§
Source§impl Clone for ImageExtra
impl Clone for ImageExtra
Source§fn clone(&self) -> ImageExtra
fn clone(&self) -> ImageExtra
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageExtra
impl Debug for ImageExtra
Source§impl PartialEq for ImageExtra
impl PartialEq for ImageExtra
impl StructuralPartialEq for ImageExtra
Auto Trait Implementations§
impl Freeze for ImageExtra
impl RefUnwindSafe for ImageExtra
impl Send for ImageExtra
impl Sync for ImageExtra
impl Unpin for ImageExtra
impl UnsafeUnpin for ImageExtra
impl UnwindSafe for ImageExtra
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