Struct sixtyfps_corelib::items::TextInputFieldsOffsets [−][src]
pub struct TextInputFieldsOffsets {Show 27 fields
pub text: FieldOffset<TextInput, Property<SharedString>, AllowPin>,
pub font_family: FieldOffset<TextInput, Property<SharedString>, AllowPin>,
pub font_size: FieldOffset<TextInput, Property<f32>, 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 letter_spacing: FieldOffset<TextInput, Property<f32>, AllowPin>,
pub x: FieldOffset<TextInput, Property<f32>, AllowPin>,
pub y: FieldOffset<TextInput, Property<f32>, AllowPin>,
pub width: FieldOffset<TextInput, Property<f32>, AllowPin>,
pub height: FieldOffset<TextInput, Property<f32>, AllowPin>,
pub cursor_position: FieldOffset<TextInput, Property<i32>, AllowPin>,
pub anchor_position: FieldOffset<TextInput, Property<i32>, AllowPin>,
pub text_cursor_width: FieldOffset<TextInput, Property<f32>, 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 cached_rendering_data: FieldOffset<TextInput, CachedRenderingData, AllowPin>,
}
Expand description
Helper struct containing the offsets of the fields of the struct TextInput
Generated from the derive macro const-field-offset::FieldOffsets
Fields
text: FieldOffset<TextInput, Property<SharedString>, AllowPin>
font_family: FieldOffset<TextInput, Property<SharedString>, AllowPin>
font_size: FieldOffset<TextInput, Property<f32>, 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>
letter_spacing: FieldOffset<TextInput, Property<f32>, AllowPin>
x: FieldOffset<TextInput, Property<f32>, AllowPin>
y: FieldOffset<TextInput, Property<f32>, AllowPin>
width: FieldOffset<TextInput, Property<f32>, AllowPin>
height: FieldOffset<TextInput, Property<f32>, AllowPin>
cursor_position: FieldOffset<TextInput, Property<i32>, AllowPin>
anchor_position: FieldOffset<TextInput, Property<i32>, AllowPin>
text_cursor_width: FieldOffset<TextInput, Property<f32>, 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>
cached_rendering_data: FieldOffset<TextInput, CachedRenderingData, AllowPin>