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§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.