Searched refs:ser_bound (Results 1 - 3 of 3) sorted by relevance
/third_party/rust/crates/serde/serde_derive_internals/src/ |
H A D | attr.rs | 211 ser_bound: Option<Vec<syn::WherePredicate>>, 297 let mut ser_bound = Attr::none(cx, BOUND); in from_ast() variables 447 ser_bound.set_opt(&meta.path, ser); in from_ast() 582 ser_bound: ser_bound.get(), in from_ast() 622 pub fn ser_bound(&self) -> Option<&[syn::WherePredicate]> { in ser_bound() functions 623 self.ser_bound.as_ref().map(|vec| &vec[..]) in ser_bound() 795 ser_bound: Option<Vec<syn::WherePredicate>>, 820 let mut ser_bound = Attr::none(cx, BOUND); in from_ast() variables 892 ser_bound in from_ast() 1000 pub fn ser_bound(&self) -> Option<&[syn::WherePredicate]> { ser_bound() functions 1087 let mut ser_bound = Attr::none(cx, BOUND); from_ast() variables 1362 pub fn ser_bound(&self) -> Option<&[syn::WherePredicate]> { ser_bound() functions [all...] |
/third_party/rust/crates/serde/serde_derive/src/internals/ |
H A D | attr.rs | 211 ser_bound: Option<Vec<syn::WherePredicate>>, 297 let mut ser_bound = Attr::none(cx, BOUND); in from_ast() variables 447 ser_bound.set_opt(&meta.path, ser); in from_ast() 582 ser_bound: ser_bound.get(), in from_ast() 622 pub fn ser_bound(&self) -> Option<&[syn::WherePredicate]> { in ser_bound() functions 623 self.ser_bound.as_ref().map(|vec| &vec[..]) in ser_bound() 795 ser_bound: Option<Vec<syn::WherePredicate>>, 820 let mut ser_bound = Attr::none(cx, BOUND); in from_ast() variables 892 ser_bound in from_ast() 1000 pub fn ser_bound(&self) -> Option<&[syn::WherePredicate]> { ser_bound() functions 1087 let mut ser_bound = Attr::none(cx, BOUND); from_ast() variables 1362 pub fn ser_bound(&self) -> Option<&[syn::WherePredicate]> { ser_bound() functions [all...] |
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | ser.rs | 134 bound::with_where_predicates_from_fields(cont, &generics, attr::Field::ser_bound); in build_generics() 137 bound::with_where_predicates_from_variants(cont, &generics, attr::Variant::ser_bound); in build_generics() 139 match cont.attrs.ser_bound() { in build_generics() 158 && field.ser_bound().is_none() in needs_serialize_bound() 162 && variant.ser_bound().is_none() in needs_serialize_bound()
|
Completed in 5 milliseconds