hcl_edit

Module prelude

Source
Expand description

Core concepts available for glob import.

This includes useful traits like Decorate and Span.

§Example

use hcl_edit::expr::Expression;
use hcl_edit::prelude::*;

let mut expr = Expression::from("A string");
expr.decor_mut().set_suffix(" // Comment.");
assert_eq!(expr.to_string(), r#""A string" // Comment."#);

Re-exports§