Lines Matching defs:BorrowedLifetimes
88 if let BorrowedLifetimes::Borrowed(_) = borrowed_lifetimes(cont) {
119 borrowed: BorrowedLifetimes,
160 fn build_generics(cont: &Container, borrowed: &BorrowedLifetimes) -> syn::Generics {
225 enum BorrowedLifetimes {
230 impl BorrowedLifetimes {
233 BorrowedLifetimes::Borrowed(_) => syn::Lifetime::new("'de", Span::call_site()),
234 BorrowedLifetimes::Static => syn::Lifetime::new("'static", Span::call_site()),
240 BorrowedLifetimes::Borrowed(bounds) => Some(syn::LifetimeParam {
246 BorrowedLifetimes::Static => None,
260 fn borrowed_lifetimes(cont: &Container) -> BorrowedLifetimes {
268 BorrowedLifetimes::Static
270 BorrowedLifetimes::Borrowed(lifetimes)
3080 borrowed: &BorrowedLifetimes,