use std::any::Any;
pub trait MatterParserTrait<STATE, ERROR> {
#[allow(dead_code)]
fn as_any(&self) -> &dyn Any;
fn parse_mix_text_to_content_text_and_matter_text(&self, mix_text: &str) -> Result<(String, String), ERROR>;
fn parse_mix_text_to_content_text_and_state(&self, mix_text: &str) -> Result<(String, STATE), ERROR>;
fn parse_matter_text_to_state(&self, matter_text: &str) -> Result<STATE, ERROR>;
}