pub struct Styles;Expand description
Common style presets for consistent UI elements
Implementations§
Source§impl Styles
impl Styles
Sourcepub fn header_title() -> Style
pub fn header_title() -> Style
Header title style
Sourcepub fn section_title() -> Style
pub fn section_title() -> Style
Section title style
Sourcepub fn subsection_title() -> Style
pub fn subsection_title() -> Style
Subsection title style
Sourcepub fn text_muted() -> Style
pub fn text_muted() -> Style
Muted/secondary text style
Sourcepub fn border_focused() -> Style
pub fn border_focused() -> Style
Border style (focused)
Sourcepub fn status_bar() -> Style
pub fn status_bar() -> Style
Status bar background style
Sourcepub fn shortcut_key() -> Style
pub fn shortcut_key() -> Style
Keyboard shortcut style
Sourcepub fn shortcut_desc() -> Style
pub fn shortcut_desc() -> Style
Shortcut description style
Auto Trait Implementations§
impl Freeze for Styles
impl RefUnwindSafe for Styles
impl Send for Styles
impl Sync for Styles
impl Unpin for Styles
impl UnsafeUnpin for Styles
impl UnwindSafe for Styles
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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