Trait FromCaptures

Source
pub trait FromCaptures: Sized {
    // Required method
    fn from_captures(caps: &Captures) -> Result<Self>;
}
Expand description

Parse captures data into tuples

Required Methods§

Source

fn from_captures(caps: &Captures) -> Result<Self>

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.

Implementations on Foreign Types§

Source§

impl<U1: FromStr, U2: FromStr> FromCaptures for (U1, U2)

Source§

impl<U1: FromStr, U2: FromStr, U3: FromStr> FromCaptures for (U1, U2, U3)

Source§

impl<U1: FromStr, U2: FromStr, U3: FromStr, U4: FromStr> FromCaptures for (U1, U2, U3, U4)

Source§

impl<U: FromStr> FromCaptures for (U,)

Implementors§