Lines Matching defs:Ctxt
33 fn none(cx: &'c Ctxt, name: Symbol) -> Self { in none()
81 fn none(cx: &'c Ctxt, name: Symbol) -> Self { in none()
102 fn none(cx: &'c Ctxt, name: Symbol) -> Self { in none()
290 pub fn from_ast(cx: &Ctxt, item: &syn::DeriveInput) -> Self { in from_ast()
707 cx: &Ctxt, in decide_tag()
789 cx: &Ctxt, in decide_identifier()
859 pub fn from_ast(cx: &Ctxt, variant: &syn::Variant) -> Self { in from_ast()
1145 cx: &Ctxt, in from_ast()
1501 cx: &'b Ctxt, in get_ser_and_de()
1508 F: Fn(&Ctxt, Symbol, Symbol, &'a syn::Lit) -> Result<T, ()>, in get_ser_and_de()
1544 cx: &Ctxt, in get_renames()
1552 cx: &Ctxt, in get_multiple_renames()
1560 cx: &Ctxt, in get_where_predicates()
1567 pub fn get_serde_meta_items(cx: &Ctxt, attr: &syn::Attribute) -> Result<Vec<syn::NestedMeta>, ()> { in get_serde_meta_items()
1585 fn get_lit_str<'a>(cx: &Ctxt, attr_name: Symbol, lit: &'a syn::Lit) -> Result<&'a syn::LitStr, ()> { in get_lit_str()
1590 cx: &Ctxt, in get_lit_str2()
1609 fn parse_lit_into_path(cx: &Ctxt, attr_name: Symbol, lit: &syn::Lit) -> Result<syn::Path, ()> { in parse_lit_into_path()
1617 cx: &Ctxt, in parse_lit_into_expr_path()
1628 cx: &Ctxt, in parse_lit_into_where()
1645 fn parse_lit_into_ty(cx: &Ctxt, attr_name: Symbol, lit: &syn::Lit) -> Result<syn::Type, ()> { in parse_lit_into_ty()
1659 cx: &Ctxt, in parse_lit_into_lifetimes()
1838 cx: &Ctxt, in borrowable_lifetimes()