[][src]Struct sixtyfps_corelib::items::BorderRectangle

#[repr(C)]pub struct BorderRectangle {
    pub color: Property<Color>,
    pub x: Property<f32>,
    pub y: Property<f32>,
    pub width: Property<f32>,
    pub height: Property<f32>,
    pub border_width: Property<f32>,
    pub border_radius: Property<f32>,
    pub border_color: Property<Color>,
    pub cached_rendering_data: CachedRenderingData,
}

The implementation of the BorderRectangle element

Fields

color: Property<Color>x: Property<f32>y: Property<f32>width: Property<f32>height: Property<f32>border_width: Property<f32>border_radius: Property<f32>border_color: Property<Color>cached_rendering_data: CachedRenderingData

Implementations

impl BorderRectangle[src]

pub const FIELD_OFFSETS: BorderRectangleFieldsOffsets[src]

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

Trait Implementations

impl Default for BorderRectangle[src]

impl HasStaticVTable<ItemVTable> for BorderRectangle[src]

impl Item for BorderRectangle[src]

impl ItemConsts for BorderRectangle[src]

impl<'__dummy_lifetime> Unpin for BorderRectangle where
    __MustNotImplUnpin<'__dummy_lifetime>: Unpin
[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> 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.