Searched refs:is_ident (Results 1 – 5 of 5) sorted by relevance
228 cfgs.retain(|attr| attr.path().is_ident("cfg"));404 if a.path().is_ident("default_error") {
45 if meta_list.path.is_ident("zerocopy") { in try_from_derive_input()47 if meta.path.is_ident("crate") { in try_from_derive_input()62 if meta.path.is_ident("on_error") { in try_from_derive_input()
527 if attr.path().is_ident("doc") { in from_attrs()531 if meta_list.path.is_ident("repr") { in from_attrs()
65 pub fn is_ident<I>(&self, ident: &I) -> bool in is_ident() method
3455 Type::Path(ty) => ty.qself.is_none() && ty.path.is_ident("Self"), in to_tokens()3459 (None, _, Type::Path(ty)) => ty.qself.is_none() && ty.path.is_ident("Self"), in to_tokens()