Struct i_slint_core::items::TouchAreaFieldsOffsets
source · pub struct TouchAreaFieldsOffsets {Show 16 fields
pub x: FieldOffset<TouchArea, Property<LogicalLength>, AllowPin>,
pub y: FieldOffset<TouchArea, Property<LogicalLength>, AllowPin>,
pub width: FieldOffset<TouchArea, Property<LogicalLength>, AllowPin>,
pub height: FieldOffset<TouchArea, Property<LogicalLength>, 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<LogicalLength>, AllowPin>,
pub pressed_y: FieldOffset<TouchArea, Property<LogicalLength>, AllowPin>,
pub mouse_x: FieldOffset<TouchArea, Property<LogicalLength>, AllowPin>,
pub mouse_y: FieldOffset<TouchArea, Property<LogicalLength>, 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<LogicalLength>, AllowPin>§y: FieldOffset<TouchArea, Property<LogicalLength>, AllowPin>§width: FieldOffset<TouchArea, Property<LogicalLength>, AllowPin>§height: FieldOffset<TouchArea, Property<LogicalLength>, 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<LogicalLength>, AllowPin>§pressed_y: FieldOffset<TouchArea, Property<LogicalLength>, AllowPin>§mouse_x: FieldOffset<TouchArea, Property<LogicalLength>, AllowPin>§mouse_y: FieldOffset<TouchArea, Property<LogicalLength>, 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>Auto Trait Implementations§
impl !RefUnwindSafe for TouchAreaFieldsOffsets
impl !Send for TouchAreaFieldsOffsets
impl !Sync for TouchAreaFieldsOffsets
impl !Unpin for TouchAreaFieldsOffsets
impl !UnwindSafe for TouchAreaFieldsOffsets
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more