pub enum ToolDisplay {
IconAndText,
IconOnly,
TextOnly,
}Expand description
How a tool presents its label and icon where the lane supports both.
Variants§
IconAndText
Icon and text together (the default: neither is the only accessible name).
IconOnly
Icon only; the label stays the accessible name and tooltip source.
TextOnly
Text only, for lanes or tools without an icon.
Implementations§
Trait Implementations§
Source§impl Clone for ToolDisplay
impl Clone for ToolDisplay
impl Copy for ToolDisplay
Source§impl Debug for ToolDisplay
impl Debug for ToolDisplay
Source§impl Default for ToolDisplay
impl Default for ToolDisplay
impl Eq for ToolDisplay
Source§impl Hash for ToolDisplay
impl Hash for ToolDisplay
Source§impl PartialEq for ToolDisplay
impl PartialEq for ToolDisplay
impl StructuralPartialEq for ToolDisplay
Auto Trait Implementations§
impl Forget for ToolDisplay
impl Freeze for ToolDisplay
impl Move for ToolDisplay
impl RefUnwindSafe for ToolDisplay
impl Send for ToolDisplay
impl Sync for ToolDisplay
impl Unpin for ToolDisplay
impl UnsafeUnpin for ToolDisplay
impl UnwindSafe for ToolDisplay
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