Home
last modified time | relevance | path

Searched refs:de_bound (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/serde/serde_derive_internals/src/
H A Dattr.rs212 de_bound: Option<Vec<syn::WherePredicate>>,
298 let mut de_bound = Attr::none(cx, BOUND); in from_ast() variables
448 de_bound.set_opt(&meta.path, de); in from_ast()
583 de_bound: de_bound.get(), in from_ast()
626 pub fn de_bound(&self) -> Option<&[syn::WherePredicate]> { in de_bound() functions
627 self.de_bound.as_ref().map(|vec| &vec[..]) in de_bound()
796 de_bound: Option<Vec<syn::WherePredicate>>,
821 let mut de_bound = Attr::none(cx, BOUND); in from_ast() variables
893 de_bound in from_ast()
1004 pub fn de_bound(&self) -> Option<&[syn::WherePredicate]> { de_bound() functions
1088 let mut de_bound = Attr::none(cx, BOUND); from_ast() variables
1366 pub fn de_bound(&self) -> Option<&[syn::WherePredicate]> { de_bound() functions
[all...]
/third_party/rust/crates/serde/serde_derive/src/internals/
H A Dattr.rs212 de_bound: Option<Vec<syn::WherePredicate>>,
298 let mut de_bound = Attr::none(cx, BOUND); in from_ast() variables
448 de_bound.set_opt(&meta.path, de); in from_ast()
583 de_bound: de_bound.get(), in from_ast()
626 pub fn de_bound(&self) -> Option<&[syn::WherePredicate]> { in de_bound() functions
627 self.de_bound.as_ref().map(|vec| &vec[..]) in de_bound()
796 de_bound: Option<Vec<syn::WherePredicate>>,
821 let mut de_bound = Attr::none(cx, BOUND); in from_ast() variables
893 de_bound in from_ast()
1004 pub fn de_bound(&self) -> Option<&[syn::WherePredicate]> { de_bound() functions
1088 let mut de_bound = Attr::none(cx, BOUND); from_ast() variables
1366 pub fn de_bound(&self) -> Option<&[syn::WherePredicate]> { de_bound() functions
[all...]
/third_party/rust/crates/serde/serde_derive/src/
H A Dde.rs163 let generics = bound::with_where_predicates_from_fields(cont, &generics, attr::Field::de_bound); in build_generics()
166 bound::with_where_predicates_from_variants(cont, &generics, attr::Variant::de_bound); in build_generics()
168 match cont.attrs.de_bound() { in build_generics()
207 && field.de_bound().is_none() in needs_deserialize_bound()
211 && variant.de_bound().is_none() in needs_deserialize_bound()

Completed in 9 milliseconds