Trait svgdom::ParseFromSpan
[−]
[src]
pub trait ParseFromSpan: FromStr { type Err; fn from_span(s: StrSpan) -> Result<Self, Self::Err>; }
A trait for parsing data from a string.
Associated Types
type Err
Error type.
Required Methods
Implementors
impl ParseFromSpan for Path type Err = ParseError;
impl ParseFromSpan for Color type Err = ParseError;
impl ParseFromSpan for Length type Err = ParseError;
impl ParseFromSpan for Transform type Err = ParseError;