pub enum IconRole {
Show 40 variants
New,
Open,
Save,
Close,
Delete,
Copy,
Paste,
Undo,
Redo,
Refresh,
Search,
Preferences,
Home,
Folder,
File,
Information,
Warning,
Error,
Question,
Help,
Play,
Stop,
NavigateBack,
NavigateForward,
NavigateUp,
Application,
FormatBold,
FormatItalic,
FormatStrikethrough,
FormatCode,
FormatHeading,
ListBulleted,
ListNumbered,
ListTask,
Quote,
InsertLink,
InsertImage,
InsertTable,
InsertRule,
ThemeToggle,
}Expand description
A portable stock-art role.
The set is deliberately bounded: every role has a deterministic portable glyph, a stable identifier, and a freedesktop icon name for lanes that resolve themes natively.
Variants§
New
Open
Save
Close
Delete
Copy
Paste
Undo
Redo
Refresh
Search
Preferences
Home
Folder
File
Information
Warning
Error
Question
Help
Play
Stop
Application
FormatBold
FormatItalic
FormatStrikethrough
FormatCode
FormatHeading
ListBulleted
ListNumbered
ListTask
Quote
InsertLink
InsertImage
InsertTable
InsertRule
ThemeToggle
Implementations§
Trait Implementations§
impl Copy for IconRole
impl Eq for IconRole
impl StructuralPartialEq for IconRole
Auto Trait Implementations§
impl Forget for IconRole
impl Freeze for IconRole
impl Move for IconRole
impl RefUnwindSafe for IconRole
impl Send for IconRole
impl Sync for IconRole
impl Unpin for IconRole
impl UnsafeUnpin for IconRole
impl UnwindSafe for IconRole
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