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

13 lines
179 B
Rust

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