pub enum AnyTransformR {
Rotation(FloatValue),
SplitRotation {
x_rotation: FloatValue,
y_rotation: FloatValue,
z_rotation: FloatValue,
orientation: MultiDimensional,
},
}Expand description
The possible values of “r” in a Transform.
Variants§
Rotation(FloatValue)
Rotation in degrees, clockwise
SplitRotation
Split rotation components
Fields
§
x_rotation: FloatValueSplit rotation X component.
§
y_rotation: FloatValueSplit rotation Y component.
§
z_rotation: FloatValueSplit rotation component, equivalent to r when not split.
§
orientation: MultiDimensionalOrientation
Trait Implementations§
Source§impl Clone for AnyTransformR
impl Clone for AnyTransformR
Source§fn clone(&self) -> AnyTransformR
fn clone(&self) -> AnyTransformR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnyTransformR
impl Debug for AnyTransformR
Source§impl<'de> Deserialize<'de> for AnyTransformR
impl<'de> Deserialize<'de> for AnyTransformR
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
Source§impl PartialEq for AnyTransformR
impl PartialEq for AnyTransformR
Source§impl Serialize for AnyTransformR
impl Serialize for AnyTransformR
impl StructuralPartialEq for AnyTransformR
Auto Trait Implementations§
impl Freeze for AnyTransformR
impl RefUnwindSafe for AnyTransformR
impl Send for AnyTransformR
impl Sync for AnyTransformR
impl Unpin for AnyTransformR
impl UnwindSafe for AnyTransformR
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