kvarn_
chute
0.4.0
Indent
Counter
Methods
add
indent
left_margin
new
Trait Implementations
Debug
Default
Display
Auto Trait Implementations
Freeze
RefUnwindSafe
Send
Sync
Unpin
UnwindSafe
Blanket Implementations
Any
AsCleanDebug
Borrow<T>
BorrowMut<T>
From<T>
Into<U>
ToCompactString
ToString
TryFrom<U>
TryInto<U>
In crate kvarn_
chute
kvarn_chute
Struct
IndentCounter
Copy item path
source
pub struct IndentCounter {
/* private fields */
}
Implementations
§
source
§
impl
IndentCounter
source
pub fn
new
() -> Self
source
pub fn
add
(&mut self, indent:
u8
)
source
pub fn
indent
(&self) ->
IndentIndenter
<'_>
source
pub fn
left_margin
(&self, multiplier:
usize
) ->
usize
Trait Implementations
§
source
§
impl
Debug
for
IndentCounter
source
§
fn
fmt