| 125 | |
| 126 | #[derive(Debug, Clone)] |
| 127 | pub struct VariantCase { |
| 128 | pub name: String, |
| 129 | /// `None` for unit cases. |
| 130 | pub payload: Option<GoType>, |
| 131 | pub dispatch: CaseDispatch, |
| 132 | } |
| 133 | |
| 134 | /// How a variant case is represented in Go. See `crate::CaseDispatchKind` |
| 135 | /// for the underlying decision; this enum carries the resolved Go names so |
nothing calls this directly
no outgoing calls
no test coverage detected