pub enum DashboardRole {
Logo,
Cursor,
Title,
Tagline,
SectionHeading,
Body,
Key,
Hint,
Link,
}Expand description
Semantic style role. Never a colour — each role resolves to a
dashboard.* theme element at compose time (DB.3).
Variants§
Logo
The brand mark art.
Cursor
The blinking-cursor bar inside the mark (amber by default).
Title
The “Lattice” wordmark.
Tagline
The one-line tagline.
SectionHeading
A section heading.
Body
Body prose.
Key
A key cap (e.g. :, <leader>).
Hint
Muted hint / secondary text.
Link
A followable link label.
Trait Implementations§
Source§impl Clone for DashboardRole
impl Clone for DashboardRole
Source§fn clone(&self) -> DashboardRole
fn clone(&self) -> DashboardRole
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 moreimpl Copy for DashboardRole
Source§impl Debug for DashboardRole
impl Debug for DashboardRole
impl Eq for DashboardRole
Source§impl Hash for DashboardRole
impl Hash for DashboardRole
Source§impl PartialEq for DashboardRole
impl PartialEq for DashboardRole
impl StructuralPartialEq for DashboardRole
Auto Trait Implementations§
impl Freeze for DashboardRole
impl RefUnwindSafe for DashboardRole
impl Send for DashboardRole
impl Sync for DashboardRole
impl Unpin for DashboardRole
impl UnsafeUnpin for DashboardRole
impl UnwindSafe for DashboardRole
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
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
Compare self to
key and return true if they are equal.