pub struct NodeLineBuilder { /* private fields */ }Expand description
Builder for TreeNode::Node’s text line.
Implementations§
source§impl NodeLineBuilder
impl NodeLineBuilder
pub fn end(self) -> NodeBuilder
Trait Implementations§
source§impl Clone for NodeLineBuilder
impl Clone for NodeLineBuilder
source§fn clone(&self) -> NodeLineBuilder
fn clone(&self) -> NodeLineBuilder
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for NodeLineBuilder
impl Debug for NodeLineBuilder
source§impl StyledText for NodeLineBuilder
impl StyledText for NodeLineBuilder
fn s<T: Display>(self, s: T) -> Self
fn nl(self) -> Self
fn space(self) -> Self
fn spaces(self, n: usize) -> Self
fn dot(self) -> Self
fn colon(self) -> Self
fn slash(self) -> Self
fn dots(self, n: usize) -> Self
fn plural<T: Display>(self, s: T, n: usize) -> Self
fn black(self) -> Self
fn red(self) -> Self
fn green(self) -> Self
fn yellow(self) -> Self
fn blue(self) -> Self
fn magenta(self) -> Self
fn cyan(self) -> Self
fn white(self) -> Self
fn bg_black(self) -> Self
fn bg_red(self) -> Self
fn bg_green(self) -> Self
fn bg_yellow(self) -> Self
fn bg_blue(self) -> Self
fn bg_magenta(self) -> Self
fn bg_cyan(self) -> Self
fn bg_white(self) -> Self
fn color(self, c: Color) -> Self
fn bg_color(self, c: Color) -> Self
fn color_8(self, c: u8) -> Self
fn bg_color_8(self, c: u8) -> Self
fn color_256(self, c: u8) -> Self
fn bg_color_256(self, c: u8) -> Self
fn color_rgb(self, c: RgbColor) -> Self
fn bg_color_rgb(self, c: RgbColor) -> Self
fn bold(self) -> Self
fn italic(self) -> Self
fn underline(self) -> Self
fn clear(self) -> Self
Auto Trait Implementations§
impl Freeze for NodeLineBuilder
impl RefUnwindSafe for NodeLineBuilder
impl Send for NodeLineBuilder
impl Sync for NodeLineBuilder
impl Unpin for NodeLineBuilder
impl UnwindSafe for NodeLineBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)