use std::rc::Rc;
use super::playground::Playground;
pub(crate) struct PrintedCodeBlock {
pub(crate) code: Rc<String>,
pub(crate) collapsed: bool,
}
pub struct CodeBlock {
pub(crate) code_to_print: Option<PrintedCodeBlock>,
pub(crate) code_to_run: Rc<String>,
pub(crate) class_name: String,
pub(crate) insert: bool,
pub(crate) tag: String,
pub(crate) playground: Option<Playground>,
}