Trait wax::Combine

source ·
pub trait Combine<'t>: TryInto<Checked<Self::Tokens>, Error = Self::Error> {
    type Tokens: TokenTree<'t>;
    type Error: Into<BuildError>;
}
Expand description

A glob expression representation that can be incorporated into a combinator.

This trait is implemented by types that can be (fallibly) converted into a Pattern and incorporated into a combinator. See any.

Required Associated Types§

source

type Tokens: TokenTree<'t>

source

type Error: Into<BuildError>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'t> Combine<'t> for &'t str

§

type Tokens = Tokenized<'t>

§

type Error = BuildError

Implementors§

source§

impl<'t> Combine<'t> for Any<'t>

§

type Tokens = Token<'t, ()>

§

type Error = Infallible

source§

impl<'t> Combine<'t> for Glob<'t>

§

type Tokens = Tokenized<'t>

§

type Error = Infallible