We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
any ideas?
thread 'main' panicked at 'called Result::unwrap() on an Err value: Json Deserialize error: Enum not defined Point, line:1 col:51', src\main.rs:140:62
Result::unwrap()
Err
let hit_fxses = EmittersCache::new(nanoserde::DeJson::deserialize_json(HIT_FX).unwrap());
under [dependencies] i have: macroquad-particles = {version = "0.1.1", features = ["nanoserde"] }
macroqud-particles lib.rs it has: #[derive(Copy, Clone, PartialEq, Debug)] #[cfg_attr(feature = "nanoserde", derive(DeJson, SerJson))] pub enum EmissionShape { Point, Rect { width: f32, height: f32 }, Sphere { radius: f32 }, }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
any ideas?
thread 'main' panicked at 'called
Result::unwrap()
on anErr
value: Json Deserialize error: Enum not defined Point, line:1 col:51', src\main.rs:140:62let hit_fxses = EmittersCache::new(nanoserde::DeJson::deserialize_json(HIT_FX).unwrap());
under [dependencies] i have:
macroquad-particles = {version = "0.1.1", features = ["nanoserde"] }
macroqud-particles lib.rs it has:
#[derive(Copy, Clone, PartialEq, Debug)]
#[cfg_attr(feature = "nanoserde", derive(DeJson, SerJson))]
pub enum EmissionShape {
Point,
Rect { width: f32, height: f32 },
Sphere { radius: f32 },
}
The text was updated successfully, but these errors were encountered: