pub struct TextInputFieldsOffsets {
Show 32 fields pub text: FieldOffset<TextInput, Property<SharedString>, AllowPin>, pub font_family: FieldOffset<TextInput, Property<SharedString>, AllowPin>, pub font_size: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>, pub font_weight: FieldOffset<TextInput, Property<i32>, AllowPin>, pub color: FieldOffset<TextInput, Property<Brush>, AllowPin>, pub selection_foreground_color: FieldOffset<TextInput, Property<Color>, AllowPin>, pub selection_background_color: FieldOffset<TextInput, Property<Color>, AllowPin>, pub horizontal_alignment: FieldOffset<TextInput, Property<TextHorizontalAlignment>, AllowPin>, pub vertical_alignment: FieldOffset<TextInput, Property<TextVerticalAlignment>, AllowPin>, pub wrap: FieldOffset<TextInput, Property<TextWrap>, AllowPin>, pub input_type: FieldOffset<TextInput, Property<InputType>, AllowPin>, pub letter_spacing: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>, pub x: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>, pub y: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>, pub width: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>, pub height: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>, pub cursor_position_byte_offset: FieldOffset<TextInput, Property<i32>, AllowPin>, pub anchor_position_byte_offset: FieldOffset<TextInput, Property<i32>, AllowPin>, pub text_cursor_width: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>, pub cursor_visible: FieldOffset<TextInput, Property<bool>, AllowPin>, pub has_focus: FieldOffset<TextInput, Property<bool>, AllowPin>, pub enabled: FieldOffset<TextInput, Property<bool>, AllowPin>, pub accepted: FieldOffset<TextInput, Callback<VoidArg>, AllowPin>, pub cursor_position_changed: FieldOffset<TextInput, Callback<(Point,)>, AllowPin>, pub edited: FieldOffset<TextInput, Callback<VoidArg>, AllowPin>, pub pressed: FieldOffset<TextInput, Cell<bool>, AllowPin>, pub single_line: FieldOffset<TextInput, Property<bool>, AllowPin>, pub read_only: FieldOffset<TextInput, Property<bool>, AllowPin>, pub preedit_text: FieldOffset<TextInput, Property<SharedString>, AllowPin>, pub preedit_selection_start: FieldOffset<TextInput, Property<i32>, AllowPin>, pub preedit_selection_end: FieldOffset<TextInput, Property<i32>, AllowPin>, pub cached_rendering_data: FieldOffset<TextInput, CachedRenderingData, AllowPin>, /* private fields */
}
Expand description

Helper struct containing the offsets of the fields of the struct TextInput

Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate

Fields§

§text: FieldOffset<TextInput, Property<SharedString>, AllowPin>§font_family: FieldOffset<TextInput, Property<SharedString>, AllowPin>§font_size: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>§font_weight: FieldOffset<TextInput, Property<i32>, AllowPin>§color: FieldOffset<TextInput, Property<Brush>, AllowPin>§selection_foreground_color: FieldOffset<TextInput, Property<Color>, AllowPin>§selection_background_color: FieldOffset<TextInput, Property<Color>, AllowPin>§horizontal_alignment: FieldOffset<TextInput, Property<TextHorizontalAlignment>, AllowPin>§vertical_alignment: FieldOffset<TextInput, Property<TextVerticalAlignment>, AllowPin>§wrap: FieldOffset<TextInput, Property<TextWrap>, AllowPin>§input_type: FieldOffset<TextInput, Property<InputType>, AllowPin>§letter_spacing: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>§x: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>§y: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>§width: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>§height: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>§cursor_position_byte_offset: FieldOffset<TextInput, Property<i32>, AllowPin>§anchor_position_byte_offset: FieldOffset<TextInput, Property<i32>, AllowPin>§text_cursor_width: FieldOffset<TextInput, Property<LogicalLength>, AllowPin>§cursor_visible: FieldOffset<TextInput, Property<bool>, AllowPin>§has_focus: FieldOffset<TextInput, Property<bool>, AllowPin>§enabled: FieldOffset<TextInput, Property<bool>, AllowPin>§accepted: FieldOffset<TextInput, Callback<VoidArg>, AllowPin>§cursor_position_changed: FieldOffset<TextInput, Callback<(Point,)>, AllowPin>§edited: FieldOffset<TextInput, Callback<VoidArg>, AllowPin>§pressed: FieldOffset<TextInput, Cell<bool>, AllowPin>§single_line: FieldOffset<TextInput, Property<bool>, AllowPin>§read_only: FieldOffset<TextInput, Property<bool>, AllowPin>§preedit_text: FieldOffset<TextInput, Property<SharedString>, AllowPin>§preedit_selection_start: FieldOffset<TextInput, Property<i32>, AllowPin>§preedit_selection_end: FieldOffset<TextInput, Property<i32>, AllowPin>§cached_rendering_data: FieldOffset<TextInput, 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.