Struct sixtyfps_corelib::items::TouchAreaFieldsOffsets
source · [−]pub struct TouchAreaFieldsOffsets {Show 16 fields
pub x: FieldOffset<TouchArea, Property<f32>, AllowPin>,
pub y: FieldOffset<TouchArea, Property<f32>, AllowPin>,
pub width: FieldOffset<TouchArea, Property<f32>, AllowPin>,
pub height: FieldOffset<TouchArea, Property<f32>, AllowPin>,
pub enabled: FieldOffset<TouchArea, Property<bool>, AllowPin>,
pub pressed: FieldOffset<TouchArea, Property<bool>, AllowPin>,
pub has_hover: FieldOffset<TouchArea, Property<bool>, AllowPin>,
pub pressed_x: FieldOffset<TouchArea, Property<f32>, AllowPin>,
pub pressed_y: FieldOffset<TouchArea, Property<f32>, AllowPin>,
pub mouse_x: FieldOffset<TouchArea, Property<f32>, AllowPin>,
pub mouse_y: FieldOffset<TouchArea, Property<f32>, AllowPin>,
pub mouse_cursor: FieldOffset<TouchArea, Property<MouseCursor>, AllowPin>,
pub clicked: FieldOffset<TouchArea, Callback<VoidArg>, AllowPin>,
pub moved: FieldOffset<TouchArea, Callback<VoidArg>, AllowPin>,
pub pointer_event: FieldOffset<TouchArea, Callback<(PointerEvent,)>, AllowPin>,
pub cached_rendering_data: FieldOffset<TouchArea, CachedRenderingData, AllowPin>,
/* private fields */
}Expand description
Helper struct containing the offsets of the fields of the struct TouchArea
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields
x: FieldOffset<TouchArea, Property<f32>, AllowPin>y: FieldOffset<TouchArea, Property<f32>, AllowPin>width: FieldOffset<TouchArea, Property<f32>, AllowPin>height: FieldOffset<TouchArea, Property<f32>, AllowPin>enabled: FieldOffset<TouchArea, Property<bool>, AllowPin>pressed: FieldOffset<TouchArea, Property<bool>, AllowPin>has_hover: FieldOffset<TouchArea, Property<bool>, AllowPin>pressed_x: FieldOffset<TouchArea, Property<f32>, AllowPin>pressed_y: FieldOffset<TouchArea, Property<f32>, AllowPin>mouse_x: FieldOffset<TouchArea, Property<f32>, AllowPin>mouse_y: FieldOffset<TouchArea, Property<f32>, AllowPin>mouse_cursor: FieldOffset<TouchArea, Property<MouseCursor>, AllowPin>clicked: FieldOffset<TouchArea, Callback<VoidArg>, AllowPin>moved: FieldOffset<TouchArea, Callback<VoidArg>, AllowPin>pointer_event: FieldOffset<TouchArea, Callback<(PointerEvent,)>, AllowPin>cached_rendering_data: FieldOffset<TouchArea, CachedRenderingData, AllowPin>