We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AnsiPrefix
1 parent cf3e12b commit ade71b1Copy full SHA for ade71b1
2 files changed
src/visualizer.rs
@@ -9,7 +9,7 @@ pub mod tree;
9
10
pub use bar_alignment::BarAlignment;
11
pub use child_position::ChildPosition;
12
-pub use coloring::{AnsiPrefix, Color, Coloring};
+pub use coloring::{Color, Coloring};
13
pub use column_width_distribution::ColumnWidthDistribution;
14
pub use direction::Direction;
15
pub use parenthood::Parenthood;
src/visualizer/coloring.rs
@@ -54,7 +54,7 @@ impl Color {
54
55
/// ANSI prefix wrapper for a [`Color`] variant, implements [`Display`].
56
#[derive(Display)]
57
-pub struct AnsiPrefix<'a>(&'a str);
+pub(super) struct AnsiPrefix<'a>(&'a str);
58
59
impl AnsiPrefix<'_> {
60
/// Returns the reset suffix to emit after this prefix, or `""` if no prefix.
0 commit comments