pub enum AppearancePiece {
Criteria(LitStr),
Font(TintSpec),
Back(TintSpec),
Bold,
Enabled(LitBool),
Visible(LitBool),
Priority(LitInt),
Action,
Layout,
Context(ContextSpec),
}Expand description
One setting of #[appearance(...)], in the order written.
Variants§
Criteria(LitStr)
Criteria.
Font(TintSpec)
Font.
Back(TintSpec)
Back.
Bold
Bold.
Enabled(LitBool)
Enabled.
Visible(LitBool)
Visible.
Priority(LitInt)
Priority.
Action
Action.
Layout
Layout.
Context(ContextSpec)
Context.
Trait Implementations§
Source§impl Clone for AppearancePiece
impl Clone for AppearancePiece
Source§fn clone(&self) -> AppearancePiece
fn clone(&self) -> AppearancePiece
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 !Send for AppearancePiece
impl !Sync for AppearancePiece
impl Freeze for AppearancePiece
impl RefUnwindSafe for AppearancePiece
impl Unpin for AppearancePiece
impl UnsafeUnpin for AppearancePiece
impl UnwindSafe for AppearancePiece
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