/// A 3D vector that represents the linear acceleration being applied to the device.
#[derive(Default, Clone, Copy, Debug)]pubstructAcceleration{/// The acceleration on the X-axis, in m/s^2.
pubx:f32,
/// The acceleration on the Y-axis, in m/s^2.
puby:f32,
/// The acceleration on the Z-axis, in m/s^2.
pubz:f32,
}implAcceleration{fnnew()->Self{Default::default()}fninit(&mutself, x:f32, y:f32, z:f32){self.x = x;self.y = y;self.z = z;}}