Skip to main content

AnswerSheetFormat

Trait AnswerSheetFormat 

Source
pub trait AnswerSheetFormat {
    // Required method
    fn parse(
        &self,
        questionnaire: &Questionnaire,
        text: &str,
    ) -> Result<RawAnswers, Vec<AnswerSheetDiagnostic>>;
}
Expand description

How the bytes behind --answers become RawAnswers; the default is StandoutAnswerSheet.

Required Methods§

Source

fn parse( &self, questionnaire: &Questionnaire, text: &str, ) -> Result<RawAnswers, Vec<AnswerSheetDiagnostic>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§