pub struct TouchAreaFieldsOffsets {Show 14 fields
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 double_clicked: FieldOffset<TouchArea, Callback<VoidArg>, AllowPin>,
pub moved: FieldOffset<TouchArea, Callback<VoidArg>, AllowPin>,
pub pointer_event: FieldOffset<TouchArea, Callback<(PointerEvent,)>, AllowPin>,
pub scroll_event: FieldOffset<TouchArea, Callback<(PointerScrollEvent,), EventResult>, 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§
§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>
§double_clicked: FieldOffset<TouchArea, Callback<VoidArg>, AllowPin>
§moved: FieldOffset<TouchArea, Callback<VoidArg>, AllowPin>
§pointer_event: FieldOffset<TouchArea, Callback<(PointerEvent,)>, AllowPin>
§scroll_event: FieldOffset<TouchArea, Callback<(PointerScrollEvent,), EventResult>, AllowPin>
§cached_rendering_data: FieldOffset<TouchArea, CachedRenderingData, AllowPin>
Auto Trait Implementations§
impl Freeze for TouchAreaFieldsOffsets
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