pub struct FScript {Show 18 fields
pub version: String,
pub inverted: bool,
pub range: i32,
pub bookmark: i32,
pub last_position: i64,
pub graph_duration: i32,
pub speed_ratio: f32,
pub injection_speed: i32,
pub injection_bias: f32,
pub scripting_mode: i32,
pub simulator_presets: Vec<SimulatorPresets>,
pub active_simulator: i32,
pub reduction_tolerance: f32,
pub reduction_stretch: f32,
pub clips: Vec<Value>,
pub actions: Vec<FSPoint>,
pub raw_actions: Vec<FSPoint>,
pub metadata: OFSMetadata,
}Expand description
a serializable and deserializable .funscript file
Fields§
§version: String§inverted: bool§range: i32§bookmark: i32§last_position: i64§graph_duration: i32§speed_ratio: f32§injection_speed: i32§injection_bias: f32§scripting_mode: i32§simulator_presets: Vec<SimulatorPresets>§active_simulator: i32§reduction_tolerance: f32§reduction_stretch: f32§clips: Vec<Value>§actions: Vec<FSPoint>§raw_actions: Vec<FSPoint>§metadata: OFSMetadataTrait Implementations§
Source§impl<'de> Deserialize<'de> for FScript
impl<'de> Deserialize<'de> for FScript
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 FScript
impl RefUnwindSafe for FScript
impl Send for FScript
impl Sync for FScript
impl Unpin for FScript
impl UnwindSafe for FScript
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