{"ast_node_type":"function","tokens":[{"end":36,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn discriminant_for_variant(
    /// Can also legally be called on non-enums (e.g. through the discriminant_value intrinsic)!
        &self,