pub enum TextRole {
Primary,
Secondary,
}Expand description
What a label’s text means, for the color the platform gives it (LabelProps::role).
Variants§
Primary
Ordinary text, in the platform’s primary label color.
Secondary
De-emphasized text: a caption, a hint, the “nothing selected” line an empty detail pane shows. Rendered in the platform’s secondary label color.
Trait Implementations§
impl Copy for TextRole
impl Eq for TextRole
impl StructuralPartialEq for TextRole
Auto Trait Implementations§
impl Freeze for TextRole
impl RefUnwindSafe for TextRole
impl Send for TextRole
impl Sync for TextRole
impl Unpin for TextRole
impl UnsafeUnpin for TextRole
impl UnwindSafe for TextRole
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