MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / deserialize_ldtk_point

Function deserialize_ldtk_point

src/ldtk.rs:215–222  ·  view source on GitHub ↗
(de: D)

Source from the content-addressed store, hash-verified

213}
214
215fn deserialize_ldtk_point<'de, D>(de: D) -> Result<IVec2, D::Error>
216where
217 D: Deserializer<'de>,
218{
219 let vals: [i32; 2] = Deserialize::deserialize(de)?;
220
221 Ok(IVec2::from(vals))
222}
223
224fn deserialize_ldtk_flags<'de, D>(de: D) -> Result<BVec2, D::Error>
225where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected