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

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

The implementation of the Image element

Fields

source: Property<ImageReference>x: Property<f32>y: Property<f32>width: Property<f32>height: Property<f32>image_fit: Property<ImageFit>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

impl Image[src]

pub fn source(self: Pin<&Self>) -> ImageReference[src]

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

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

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

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

pub fn image_fit(self: Pin<&Self>) -> ImageFit[src]

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.