pub trait Constructor {
// Required methods
fn construct(&mut self) -> Result<Option<Value>>;
fn check_data(&self) -> bool;
fn reset(&mut self);
}Expand description
Trait for YAML constructors that convert document nodes to Rust objects
Required Methods§
Sourcefn check_data(&self) -> bool
fn check_data(&self) -> bool
Check if there are more values to construct
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".