Struct raui_core::widget::utils::Transform [−][src]
pub struct Transform {
pub pivot: Vec2,
pub align: Vec2,
pub translation: Vec2,
pub rotation: Scalar,
pub scale: Vec2,
pub skew: Vec2,
}Fields
pivot: Vec2Rectangle center of mass. Values in range: <0;1>
align: Vec2Translation in rectangle fraction units. Values in range: <0;1>
translation: Vec2Translation in regular units.
rotation: ScalarRotation in radian angle units.
scale: Vec2Scale in regular units.
skew: Vec2Skewing in radian angle units. {angle X, angle Y}
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Transformimpl UnwindSafe for TransformBlanket Implementations
Mutably borrows from an owned value. Read more