use super::problem::Problem;
use core::fmt::{
Display,
Formatter,
Result as Format
};
pub enum Section {
Problem(Problem),
Display(String),
Debug(String)
}
impl Display for Section {
fn fmt(&self, f: &mut Formatter<'_>) -> Format {match self {
Section::Problem(problem) => Display::fmt(problem, f),
Section::Display(string) => Display::fmt(string, f),
Section::Debug(string) => Display::fmt(string, f)
}}
}