pub struct TextBuilder { /* private fields */ }
Implementations§
Source§impl TextBuilder
impl TextBuilder
pub fn empty() -> TextBuilder
pub fn append(&mut self, text: &str) -> &mut TextBuilder
pub fn centered(&mut self, text: &str) -> &mut TextBuilder
pub fn reset(&mut self) -> &mut TextBuilder
pub fn ln(&mut self) -> &mut TextBuilder
pub fn fg<COLOR>(&mut self, col: COLOR) -> &mut TextBuilder
pub fn bg<COLOR>(&mut self, col: COLOR) -> &mut TextBuilder
pub fn line_wrap(&mut self, text: &str) -> &mut TextBuilder
Auto Trait Implementations§
impl Freeze for TextBuilder
impl RefUnwindSafe for TextBuilder
impl Send for TextBuilder
impl Sync for TextBuilder
impl Unpin for TextBuilder
impl UnwindSafe for TextBuilder
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