pub trait Parsable: FromStr<Err = ParseError> {
// Required method
fn parse_from_str(_: &str, _: &str) -> Result<Self, Error>
where Self: Sized;
}
Expand description
Spanable types that are parsable can be used to deserialize a given string to a span instance.
Required Methods§
Object Safety§
This trait is not object safe.