[][src]Struct sixtyfps_corelib::items::Image

#[repr(C)]pub struct Image {
    pub source: Property<Resource>,
    pub x: Property<f32>,
    pub y: Property<f32>,
    pub width: Property<f32>,
    pub height: Property<f32>,
    pub cached_rendering_data: CachedRenderingData,
}

The implementation of the Image element

Fields

source: Property<Resource>x: Property<f32>y: Property<f32>width: Property<f32>height: Property<f32>cached_rendering_data: CachedRenderingData

Implementations

impl Image[src]

pub const FIELD_OFFSETS: ImageFieldsOffsets[src]

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

Trait Implementations

impl Default for Image[src]

impl HasStaticVTable<ItemVTable> for Image[src]

impl Item for Image[src]

impl ItemConsts for Image[src]

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

Auto Trait Implementations

impl !RefUnwindSafe for Image

impl !Send for Image

impl !Sync for Image

impl UnwindSafe for Image

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.