Skip to main content

ValueSink

Trait ValueSink 

Source
pub trait ValueSink {
    // Required method
    fn record_value(
        &mut self,
        path: &[String],
        value: Value,
    ) -> Result<(), LayoutError>;
}
Expand description

Records resolved values for export.

Required Methods§

Source

fn record_value( &mut self, path: &[String], value: Value, ) -> Result<(), LayoutError>

Insert a value at the given path.

Implementors§