pub trait WriteInspect {
// Required method
fn write_inspect(&self, writer: &Node, key: impl Into<StringReference>);
}
Expand description
Trait for writing to a node in bounded lists.
Required Methods§
Sourcefn write_inspect(&self, writer: &Node, key: impl Into<StringReference>)
fn write_inspect(&self, writer: &Node, key: impl Into<StringReference>)
Write a single value (property or child node) to |node| with the specified |key|. If multiple properties need to be written, consider creating a single child node with those properties.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.