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]
impl Image
[src]pub const FIELD_OFFSETS: ImageFieldsOffsets
[src]
Return a struct containing the offset of for the fields of this struct
Trait Implementations
impl HasStaticVTable<ItemVTable> for Image
[src]
impl HasStaticVTable<ItemVTable> for Image
[src]fn static_vtable() -> &'static ItemVTable
[src]
impl Item for Image
[src]
impl Item for Image
[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 Image
[src]
impl ItemConsts for Image
[src]