(string: StringType)
| 30 | |
| 31 | impl From<StringType> for Expr { |
| 32 | fn from(string: StringType) -> Self { |
| 33 | match string { |
| 34 | StringType::Str(node) => Expr::from(node), |
| 35 | StringType::Bytes(node) => Expr::from(node), |
| 36 | StringType::FString(node) => Expr::from(node), |
| 37 | StringType::TString(node) => Expr::from(node), |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
nothing calls this directly
no outgoing calls
no test coverage detected