Struct sixtyfps_corelib::items::BoxShadow[][src]

#[repr(C)]
pub struct BoxShadow { pub x: Property<f32>, pub y: Property<f32>, pub width: Property<f32>, pub height: Property<f32>, pub border_radius: Property<f32>, pub offset_x: Property<f32>, pub offset_y: Property<f32>, pub color: Property<Color>, pub blur: Property<f32>, pub cached_rendering_data: CachedRenderingData, }

The implementation of the BoxShadow element

Fields

x: Property<f32>y: Property<f32>width: Property<f32>height: Property<f32>border_radius: Property<f32>offset_x: Property<f32>offset_y: Property<f32>color: Property<Color>blur: Property<f32>cached_rendering_data: CachedRenderingData

Implementations

impl BoxShadow[src]

pub const FIELD_OFFSETS: BoxShadowFieldsOffsets[src]

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

impl BoxShadow[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 border_radius(self: Pin<&Self>) -> f32[src]

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

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

pub fn color(self: Pin<&Self>) -> Color[src]

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

Trait Implementations

impl Default for BoxShadow[src]

impl HasStaticVTable<ItemVTable> for BoxShadow[src]

impl Item for BoxShadow[src]

impl ItemConsts for BoxShadow[src]

impl<'__dummy_lifetime> Unpin for BoxShadow 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.