Struct sixtyfps_corelib::items::Rotate[][src]

#[repr(C)]
pub struct Rotate { pub angle: Property<f32>, pub origin_x: Property<f32>, pub origin_y: Property<f32>, pub width: Property<f32>, pub height: Property<f32>, pub cached_rendering_data: CachedRenderingData, }

The implementation of the Rotate element

Fields

angle: Property<f32>origin_x: Property<f32>origin_y: Property<f32>width: Property<f32>height: Property<f32>cached_rendering_data: CachedRenderingData

Implementations

impl Rotate[src]

pub const FIELD_OFFSETS: RotateFieldsOffsets[src]

Return a struct containing the offset of for the fields of this struct

impl Rotate[src]

pub fn angle(self: Pin<&Self>) -> f32[src]

pub fn origin_x(self: Pin<&Self>) -> f32[src]

pub fn origin_y(self: Pin<&Self>) -> f32[src]

pub fn width(self: Pin<&Self>) -> f32[src]

pub fn height(self: Pin<&Self>) -> f32[src]

Trait Implementations

impl Default for Rotate[src]

impl HasStaticVTable<ItemVTable> for Rotate[src]

impl Item for Rotate[src]

impl ItemConsts for Rotate[src]

impl<'__dummy_lifetime> Unpin for Rotate where
    __MustNotImplUnpin<'__dummy_lifetime>: Unpin
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Rotate

impl Send for Rotate

impl !Sync for Rotate

impl UnwindSafe for Rotate

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> From<T> for T[src]

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

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.