Trait klib::core::base::Parsable

source ·
pub trait Parsable {
    // Required method
    fn parse(symbol: &str) -> Res<Self>
       where Self: Sized;
}
Expand description

A trait for types that can be parsed from a string.

Required Methods§

source

fn parse(symbol: &str) -> Res<Self>
where Self: Sized,

Parses the type from a string.

Implementors§