pub struct TermionStr<'a> { /* private fields */ }
Expand description
A styled string that can be rendered using termion
.
The [Display
][] implementation of this struct produces a formatted string using the escape
sequencens generated by termion.
§Example
use text_style::termion::Termion;
println!("{}", text_style::StyledStr::plain("test").bold().termion());
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TermionStr<'a>
impl<'a> RefUnwindSafe for TermionStr<'a>
impl<'a> Send for TermionStr<'a>
impl<'a> Sync for TermionStr<'a>
impl<'a> Unpin for TermionStr<'a>
impl<'a> UnwindSafe for TermionStr<'a>
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