Struct specs_transform::Transform2D[][src]

pub struct Transform2D<T> {
    pub position: [T; 2],
    pub scale: [T; 2],
    pub rotation: T,
}

Fields

Methods

impl<T> Transform2D<T> where
    T: Zero + One
[src]

Trait Implementations

impl<T: Debug> Debug for Transform2D<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Component for Transform2D<T> where
    T: 'static + Sync + Send
[src]

Associated storage type for this component.

impl<T> Default for Transform2D<T> where
    T: Zero + One
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<T> Send for Transform2D<T> where
    T: Send

impl<T> Sync for Transform2D<T> where
    T: Sync