pub struct ToolRailItem { /* private fields */ }Expand description
One place of a ToolRail: a tool, and the others that can take its place.
Implementations§
Source§impl ToolRailItem
impl ToolRailItem
Sourcepub fn shortcut(self, keys: impl Into<String>) -> ToolRailItem
pub fn shortcut(self, keys: impl Into<String>) -> ToolRailItem
Shows this key beside the tool added last, such as "M" (display only).
Trait Implementations§
Source§impl Clone for ToolRailItem
impl Clone for ToolRailItem
Source§fn clone(&self) -> ToolRailItem
fn clone(&self) -> ToolRailItem
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 moreAuto Trait Implementations§
impl Freeze for ToolRailItem
impl RefUnwindSafe for ToolRailItem
impl Send for ToolRailItem
impl Sync for ToolRailItem
impl Unpin for ToolRailItem
impl UnsafeUnpin for ToolRailItem
impl UnwindSafe for ToolRailItem
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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