physics3 0.2.0

data types for (de)serializing physics settings from physics3.json files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::Parameter;

#[derive(Debug, Clone, PartialEq, PartialOrd, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "PascalCase")]
#[serde(deny_unknown_fields)]
#[remain::sorted]
pub struct Output {
  pub destination: Parameter,
  pub reflect: bool,
  pub scale: f64,
  #[serde(rename = "Type")]
  pub type_: String,
  pub vertex_index: usize,
  pub weight: usize,
}