(&self)
| 879 | impl ResumeLocation { |
| 880 | #[must_use] |
| 881 | pub const fn as_u8(&self) -> u8 { |
| 882 | match self { |
| 883 | Self::AtFuncStart => 0, |
| 884 | Self::AfterYield => 1, |
| 885 | Self::AfterYieldFrom => 2, |
| 886 | Self::AfterAwait => 3, |
| 887 | } |
| 888 | } |
| 889 | |
| 890 | #[must_use] |
| 891 | pub const fn as_u32(&self) -> u32 { |