Lines Matching refs:CapturedParam
442 pub params: Punctuated<CapturedParam, Token![,]>,
452 pub enum CapturedParam {
529 use crate::generics::{CapturedParam, PreciseCapture};
1058 input.parse::<CapturedParam>()? in parse()
1086 impl Parse for CapturedParam { implementation
1090 input.parse().map(CapturedParam::Lifetime) in parse()
1092 input.call(Ident::parse_any).map(CapturedParam::Ident) in parse()
1155 use crate::generics::{CapturedParam, PreciseCapture};
1420 if let CapturedParam::Lifetime(_) = **param.value() { in to_tokens()
1426 if let CapturedParam::Ident(_) = **param.value() { in to_tokens()
1441 impl ToTokens for CapturedParam { implementation
1444 CapturedParam::Lifetime(lifetime) => lifetime.to_tokens(tokens), in to_tokens()
1445 CapturedParam::Ident(ident) => ident.to_tokens(tokens), in to_tokens()