Lines Matching defs:ParseQuote
115 pub fn parse<T: ParseQuote>(token_stream: TokenStream) -> T {
124 pub trait ParseQuote: Sized {
128 impl<T: Parse> ParseQuote for T {
144 impl ParseQuote for Attribute {
155 impl ParseQuote for Field {
185 impl ParseQuote for Pat {
192 impl ParseQuote for Box<Pat> {
194 <Pat as ParseQuote>::parse(input).map(Box::new)
198 impl<T: Parse, P: Parse> ParseQuote for Punctuated<T, P> {
205 impl ParseQuote for Vec<Stmt> {