pub struct StyledPartBuilder { /* private fields */ }Implementations§
Source§impl StyledPartBuilder
impl StyledPartBuilder
pub fn new(parent: OutputBuilder) -> Self
pub fn part(self, text: &str) -> Self
pub fn color(self, color: Color) -> Self
pub fn background(self, color: Color) -> Self
pub fn bold(self) -> Self
pub fn italic(self) -> Self
pub fn underline(self) -> Self
pub fn strike(self) -> Self
pub fn blink(self) -> Self
pub fn space(self) -> Self
pub fn none(self) -> Self
pub fn fill_bg(self) -> Self
pub fn end(self) -> OutputBuilder
pub fn get(self) -> String
Auto Trait Implementations§
impl Freeze for StyledPartBuilder
impl RefUnwindSafe for StyledPartBuilder
impl Send for StyledPartBuilder
impl Sync for StyledPartBuilder
impl Unpin for StyledPartBuilder
impl UnwindSafe for StyledPartBuilder
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