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]
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]
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 HasStaticVTable<ItemVTable> for BoxShadow
[src]
impl HasStaticVTable<ItemVTable> for BoxShadow
[src]fn static_vtable() -> &'static ItemVTable
[src]
impl Item for BoxShadow
[src]
impl Item for BoxShadow
[src]fn init(self: Pin<&Self>, _window: &ComponentWindow)
[src]
fn geometry(self: Pin<&Self>) -> Rect
[src]
fn layouting_info(self: Pin<&Self>, _window: &ComponentWindow) -> LayoutInfo
[src]
fn implicit_size(self: Pin<&Self>, _window: &ComponentWindow) -> Size
[src]
fn input_event_filter_before_children(
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
[src]
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
fn input_event(
self: Pin<&Self>,
_event: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
[src]
self: Pin<&Self>,
_event: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
fn key_event(
self: Pin<&Self>,
_: &KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
[src]
self: Pin<&Self>,
_: &KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
fn focus_event(self: Pin<&Self>, _: &FocusEvent, _window: &ComponentWindow)
[src]
fn render(self: Pin<&Self>, backend: &mut &'_ mut dyn ItemRenderer)
[src]
impl ItemConsts for BoxShadow
[src]
impl ItemConsts for BoxShadow
[src]const cached_rendering_data_offset: FieldOffset<Self, CachedRenderingData>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for BoxShadow
impl !RefUnwindSafe for BoxShadow
impl UnwindSafe for BoxShadow
impl UnwindSafe for BoxShadow