Struct sixtyfps_corelib::items::Opacity [−][src]
#[repr(C)]pub struct Opacity { pub x: Property<f32>, pub y: Property<f32>, pub width: Property<f32>, pub height: Property<f32>, pub opacity: Property<f32>, pub cached_rendering_data: CachedRenderingData, }
The Opacity Item is not meant to be used directly by the .60 code, instead, the opacity: xxx
or visible: false
should be used
Fields
x: Property<f32>
y: Property<f32>
width: Property<f32>
height: Property<f32>
opacity: Property<f32>
cached_rendering_data: CachedRenderingData
Implementations
impl Opacity
[src]
impl Opacity
[src]pub const FIELD_OFFSETS: OpacityFieldsOffsets
[src]
Return a struct containing the offset of for the fields of this struct
Trait Implementations
impl HasStaticVTable<ItemVTable> for Opacity
[src]
impl HasStaticVTable<ItemVTable> for Opacity
[src]fn static_vtable() -> &'static ItemVTable
[src]
impl Item for Opacity
[src]
impl Item for Opacity
[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>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
[src]
self: Pin<&Self>,
_: 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 Opacity
[src]
impl ItemConsts for Opacity
[src]const cached_rendering_data_offset: FieldOffset<Opacity, CachedRenderingData>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Opacity
impl !RefUnwindSafe for Opacity
impl UnwindSafe for Opacity
impl UnwindSafe for Opacity