pub struct Styles;Expand description
Style presets for consistent UI theming.
Provides convenience constructors for common ANSI styles used across VT Code’s terminal output.
Implementations§
Source§impl Styles
impl Styles
Sourcepub fn bold_error() -> Style
pub fn bold_error() -> Style
Bold error style
Sourcepub fn bold_success() -> Style
pub fn bold_success() -> Style
Bold success style
Sourcepub fn bold_warning() -> Style
pub fn bold_warning() -> Style
Bold warning style
Sourcepub fn render_reset() -> String
pub fn render_reset() -> String
Render reset ANSI string
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