pub struct RotationModule {
pub curve: MinMaxCurve,
pub enabled: bool,
pub separateAxes: Option<bool>,
pub x: Option<MinMaxCurve>,
pub y: Option<MinMaxCurve>,
}Expand description
RotationModule is a sub class of the Unity engine since version 3.5.0.
Fields§
§curve: MinMaxCurve§enabled: bool§separateAxes: Option<bool>bool: (5.3.0f1 - 2022.3.2f1)
x: Option<MinMaxCurve>MinMaxCurve: (5.3.0f1 - 2022.3.2f1)
y: Option<MinMaxCurve>MinMaxCurve: (5.3.0f1 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for RotationModule
impl Debug for RotationModule
Source§impl<'de> Deserialize<'de> for RotationModule
impl<'de> Deserialize<'de> for RotationModule
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RotationModule, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RotationModule, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RotationModule
impl Serialize for RotationModule
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RotationModule
impl RefUnwindSafe for RotationModule
impl Send for RotationModule
impl Sync for RotationModule
impl Unpin for RotationModule
impl UnsafeUnpin for RotationModule
impl UnwindSafe for RotationModule
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