Parsable

Trait Parsable 

Source
pub trait Parsable<'a>: Sized {
    // Required method
    fn parse(s: &'a str) -> Option<(Self, usize)>;
}

Required Methods§

Source

fn parse(s: &'a str) -> Option<(Self, usize)>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a> Parsable<'a> for Bed3

Source§

impl<'a> Parsable<'a> for Bed4<'a>

Source§

impl<'a, T: FromStr> Parsable<'a> for Bed5<'a, T>

Source§

impl<'a, T: FromStr> Parsable<'a> for Bed6<'a, T>