Searched refs:borrowed_lifetimes (Results 1 - 3 of 3) sorted by relevance
/third_party/rust/crates/serde/serde_derive_internals/src/ |
H A D | attr.rs | 1044 borrowed_lifetimes: BTreeSet<syn::Lifetime>, 1089 let mut borrowed_lifetimes = Attr::none(cx, BORROW); in from_ast() variables 1108 borrowed_lifetimes.set(&borrow_attribute.path, lifetimes.clone()); in from_ast() 1110 borrowed_lifetimes.set(&borrow_attribute.path, borrowable); in from_ast() 1212 borrowed_lifetimes.set(&meta.path, lifetimes); in from_ast() 1217 borrowed_lifetimes.set(&meta.path, borrowable); in from_ast() 1249 let mut borrowed_lifetimes = borrowed_lifetimes.get().unwrap_or_default(); in from_ast() variables 1250 if !borrowed_lifetimes.is_empty() { in from_ast() 1298 collect_lifetimes(&field.ty, &mut borrowed_lifetimes); in from_ast() 1370 pub fn borrowed_lifetimes(&self) -> &BTreeSet<syn::Lifetime> { borrowed_lifetimes() functions [all...] |
/third_party/rust/crates/serde/serde_derive/src/internals/ |
H A D | attr.rs | 1044 borrowed_lifetimes: BTreeSet<syn::Lifetime>, 1089 let mut borrowed_lifetimes = Attr::none(cx, BORROW); in from_ast() variables 1108 borrowed_lifetimes.set(&borrow_attribute.path, lifetimes.clone()); in from_ast() 1110 borrowed_lifetimes.set(&borrow_attribute.path, borrowable); in from_ast() 1212 borrowed_lifetimes.set(&meta.path, lifetimes); in from_ast() 1217 borrowed_lifetimes.set(&meta.path, borrowable); in from_ast() 1249 let mut borrowed_lifetimes = borrowed_lifetimes.get().unwrap_or_default(); in from_ast() variables 1250 if !borrowed_lifetimes.is_empty() { in from_ast() 1298 collect_lifetimes(&field.ty, &mut borrowed_lifetimes); in from_ast() 1370 pub fn borrowed_lifetimes(&self) -> &BTreeSet<syn::Lifetime> { borrowed_lifetimes() functions [all...] |
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | de.rs | 88 if let BorrowedLifetimes::Borrowed(_) = borrowed_lifetimes(cont) { in precondition_no_de_lifetime() 134 let borrowed = borrowed_lifetimes(cont); in new() 260 fn borrowed_lifetimes(cont: &Container) -> BorrowedLifetimes { in borrowed_lifetimes() functions 264 lifetimes.extend(field.attrs.borrowed_lifetimes().iter().cloned()); in borrowed_lifetimes()
|
Completed in 8 milliseconds