{"ast_node_type":"function","tokens":[{"end":57,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn is_downcast_to(&self, v: VariantIdx) -> bool {
    /// Returns `true` if this is a `Downcast` projection with the given `VariantIdx`.
        matches!(*self, Self::Downcast(_, x) if x == v)