rust-parser-combinator/src/parser/representation.rs

13 lines
199 B
Rust

#[derive(Debug, Clone)]
pub struct Representation {
val: String,
}
impl Representation {
pub fn new(from: &str) -> Self {
Self {
val: from.to_string(),
}
}
}