pub struct Theme { /* private fields */ }Implementations§
Source§impl Theme
impl Theme
pub fn new() -> Self
pub fn success(&self, s: impl AsRef<str>) -> String
pub fn action(&self, s: impl AsRef<str>) -> String
pub fn error(&self, s: impl AsRef<str>) -> String
pub fn warn(&self, s: impl AsRef<str>) -> String
pub fn info(&self, s: impl AsRef<str>) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
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