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: Vec2

Rectangle center of mass. Values in range: <0;1>

align: Vec2

Translation in rectangle fraction units. Values in range: <0;1>

translation: Vec2

Translation in regular units.

rotation: Scalar

Rotation in radian angle units.

scale: Vec2

Scale in regular units.

skew: Vec2

Skewing in radian angle units. {angle X, angle Y}

Trait Implementations

impl Clone for Transform[src]

impl Copy for Transform[src]

impl Debug for Transform[src]

impl Default for Transform[src]

impl<'de> Deserialize<'de> for Transform[src]

impl PartialEq<Transform> for Transform[src]

impl Serialize for Transform[src]

impl StructuralPartialEq for Transform[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.