motion3 0.2.0

data types for (de)serializing motion settings from motion3.json files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[derive(Debug, Clone, Copy, PartialEq, PartialOrd, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "PascalCase")]
#[serde(deny_unknown_fields)]
#[remain::sorted]
pub struct Meta {
  pub are_beziers_restricted: Option<bool>,
  pub curve_count: u64,
  pub duration: f64,
  pub fade_in_time: Option<f64>,
  pub fade_out_time: Option<f64>,
  pub fps: f64,
  #[serde(rename = "Loop")]
  pub loop_: Option<bool>,
  pub total_point_count: u64,
  pub total_segment_count: u64,
  pub total_user_data_size: Option<u64>,
  pub user_data_count: Option<u64>,
}