pub struct StyledString { /* private fields */ }Implementations§
Source§impl StyledString
impl StyledString
pub fn red(self) -> Self
pub fn green(self) -> Self
pub fn blue(self) -> Self
pub fn yellow(self) -> Self
pub fn cyan(self) -> Self
pub fn magenta(self) -> Self
pub fn bold(self) -> Self
pub fn dimmed(self) -> Self
pub fn dim(self) -> Self
pub fn on_black(self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StyledString
impl RefUnwindSafe for StyledString
impl Send for StyledString
impl Sync for StyledString
impl Unpin for StyledString
impl UnsafeUnpin for StyledString
impl UnwindSafe for StyledString
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