pub struct Banner<'a> { /* private fields */ }
Expand description
Render a terminal banner.
Implementations§
Source§impl<'a> Banner<'a>
impl<'a> Banner<'a>
Sourcepub fn symbols(self, symbols: BoxSymbols) -> Self
pub fn symbols(self, symbols: BoxSymbols) -> Self
Set the banner box symbols.
Sourcepub fn divider_with(self, character: char) -> Self
pub fn divider_with(self, character: char) -> Self
Append a divider with customize char.
Sourcepub fn divider_with_space(self) -> Self
pub fn divider_with_space(self) -> Self
Append a divider with space.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Banner<'a>
impl<'a> RefUnwindSafe for Banner<'a>
impl<'a> Send for Banner<'a>
impl<'a> Sync for Banner<'a>
impl<'a> Unpin for Banner<'a>
impl<'a> UnwindSafe for Banner<'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