pub trait AstNodeEdit:
AstNode
+ Clone
+ Sized {
// Provided methods
fn indent_level(&self) -> IndentLevel { ... }
fn indent(&self, level: IndentLevel) -> Self { ... }
fn dedent(&self, level: IndentLevel) -> Self { ... }
fn reset_indent(&self) -> Self { ... }
}
Expand description
Soft-deprecated in favor of mutable tree editing API edit_in_place::Ident
.
Provided Methods§
fn indent_level(&self) -> IndentLevel
fn indent(&self, level: IndentLevel) -> Self
fn dedent(&self, level: IndentLevel) -> Self
fn reset_indent(&self) -> Self
Object Safety§
This trait is not object safe.