Trait alloc_data::parser::Parseable
source · [−]pub trait Parseable: Sized {
type Info;
fn parse_with(text: impl AsRef<str>, info: &Self::Info) -> Res<Self>;
fn parse(text: impl AsRef<str>) -> Res<Self>
where
Self: Parseable<Info = ()>,
{ ... }
}
Expand description
Trait for types that can be parsed.