pub enum Glyph {
Show 31 variants
DisclosureOpen,
DisclosureClosed,
SortAscending,
SortDescending,
Check,
Radio,
Indeterminate,
Bullet,
Submenu,
ChevronStart,
ChevronEnd,
Close,
More,
DragHandle,
Dropdown,
Expand,
Collapse,
WindowMinimize,
WindowMaximize,
WindowRestore,
WindowClose,
WindowExitFullscreen,
LedOff,
LedOn,
LedBusy,
LedWarning,
LedError,
FlagModified,
FlagPinned,
FlagRequired,
FlagInvalid,
}Expand description
What a small mark means. The vocabulary is fixed: a widget needing a new mark adds a role here, never a shape of its own.
Need (icon): a small mark by meaning (disclosure, sort, check, close).
Variants§
DisclosureOpen
An open branch, an expanded section.
DisclosureClosed
A closed branch, a collapsed section.
SortAscending
A column sorted ascending.
SortDescending
A column sorted descending.
Check
A checked item.
Radio
The chosen item of a group.
Indeterminate
A partly checked item.
Bullet
An item of a list.
An item opening a submenu.
ChevronStart
Back, towards the start.
ChevronEnd
Forward, towards the end.
Close
Closes or removes.
More
More actions.
DragHandle
Something to grab or to open: a folded area’s strip.
Dropdown
Opens a list of choices: a combo box’s arrow.
Expand
Expands, adds a level.
Collapse
Collapses, removes a level.
WindowMinimize
A window’s minimize button (drawn by the application).
WindowMaximize
A window’s maximize button.
WindowRestore
A maximized window’s restore button.
WindowClose
A window’s close button.
WindowExitFullscreen
A full screen window’s button leaving full screen (where maximize was).
LedOff
An LED that is off.
LedOn
An LED that is on.
LedBusy
A busy LED (it pulses too, a still ring under reduced motion, so it may share the on LED’s shape).
LedWarning
An LED warning.
LedError
An LED in error.
FlagModified
A modified flag (corner fills the corner it sits in).
FlagPinned
A pinned flag.
FlagRequired
A required flag.
FlagInvalid
An invalid flag.
Implementations§
Trait Implementations§
impl Copy for Glyph
impl Eq for Glyph
impl StructuralPartialEq for Glyph
Auto Trait Implementations§
impl Freeze for Glyph
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnsafeUnpin for Glyph
impl UnwindSafe for Glyph
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more