pub struct SimulatorPresets {
pub name: String,
pub full_range: bool,
pub direction: i32,
pub rotation: f32,
pub length: f32,
pub width: f32,
pub offset: String,
pub color: String,
}
Expand description
properties about a pressure simulator that can be used to input points in a .funscript
Fields§
§name: String
§full_range: bool
§direction: i32
§rotation: f32
§length: f32
§width: f32
§offset: String
§color: String
Trait Implementations§
Source§impl Debug for SimulatorPresets
impl Debug for SimulatorPresets
Source§impl<'de> Deserialize<'de> for SimulatorPresets
impl<'de> Deserialize<'de> for SimulatorPresets
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimulatorPresets
impl RefUnwindSafe for SimulatorPresets
impl Send for SimulatorPresets
impl Sync for SimulatorPresets
impl Unpin for SimulatorPresets
impl UnwindSafe for SimulatorPresets
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more