Dust::DrawState
Inherits Reference < Object
Constructors
new(indent : String, percent_bar : String, context : RenderContext)
SourceInstance methods
context
Sourcegenerate_bar(node : DisplayNode, level : Int32) : String
Shades the parent's bar: the part this node fills becomes █, while the
part inherited from its ancestors becomes progressively lighter.
indent
Sourcenext_indent(has_children : Bool, last : Bool) : String
Sourcepercent_bar
Source