(de: D)
| 222 | } |
| 223 | |
| 224 | fn deserialize_ldtk_flags<'de, D>(de: D) -> Result<BVec2, D::Error> |
| 225 | where |
| 226 | D: Deserializer<'de>, |
| 227 | { |
| 228 | let flags: u8 = Deserialize::deserialize(de)?; |
| 229 | |
| 230 | let x = flags == 1 || flags == 3; |
| 231 | let y = flags == 2 || flags == 3; |
| 232 | |
| 233 | Ok(BVec2::new(x, y)) |
| 234 | } |
nothing calls this directly
no outgoing calls
no test coverage detected