pub trait Indent:
AstNode
+ Clone
+ Sized {
// Provided methods
fn indent_level(&self) -> IndentLevel { ... }
fn indent(&self, by: IndentLevel) { ... }
fn dedent(&self, by: IndentLevel) { ... }
fn reindent_to(&self, target_level: IndentLevel) { ... }
}
Provided Methods§
fn indent_level(&self) -> IndentLevel
fn indent(&self, by: IndentLevel)
fn dedent(&self, by: IndentLevel)
fn reindent_to(&self, target_level: IndentLevel)
Object Safety§
This trait is not object safe.