(ch: WideChar)
| 583 | type Error = String; |
| 584 | |
| 585 | fn try_from(ch: WideChar) -> Result<Self, Self::Error> { |
| 586 | // safe because every configuration of bytes for the types we support are valid |
| 587 | u32_to_char(ch.0 as _) |
| 588 | } |
| 589 | } |
| 590 | |
| 591 | impl ToPyResult for WideChar { |
nothing calls this directly
no test coverage detected