pub trait Pattern<'t>: TryInto<Checked<Self::Tokens>, Error = Self::Error> {
type Tokens: TokenTree<'t>;
type Error: Into<BuildError>;
}
Expand description
A representation of a glob expression.
This trait is implemented by types that can be converted into a Program
, such as str
slices. These types may or may not have been compiled into a Program
.