Function ra_ap_ide_db::helpers::try_resolve_derive_input_at [−][src]
pub fn try_resolve_derive_input_at(
sema: &Semantics<'_, RootDatabase>,
derive_attr: &Attr,
cursor: &SyntaxToken
) -> Option<MacroDef>
Expand description
Resolves the path at the cursor token as a derive macro if it inside a token tree of a derive attribute.