pub trait CommentPreservingConstructor {
// Required methods
fn construct_commented(&mut self) -> Result<Option<CommentedValue>>;
fn check_data(&self) -> bool;
fn reset(&mut self);
}Expand description
Trait for comment-preserving constructors
Required Methods§
Sourcefn construct_commented(&mut self) -> Result<Option<CommentedValue>>
fn construct_commented(&mut self) -> Result<Option<CommentedValue>>
Construct a single value with comments
Sourcefn check_data(&self) -> bool
fn check_data(&self) -> bool
Check if there are more values to construct