pub struct TextInputFieldsOffsets {Show 30 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 font_italic: FieldOffset<TextInput, Property<bool>, 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 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 key_pressed: FieldOffset<TextInput, Callback<KeyEventArg, EventResult>, AllowPin>,
pub key_released: FieldOffset<TextInput, Callback<KeyEventArg, EventResult>, 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 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>
§font_italic: FieldOffset<TextInput, Property<bool>, 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>
§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>
§key_pressed: FieldOffset<TextInput, Callback<KeyEventArg, EventResult>, AllowPin>
§key_released: FieldOffset<TextInput, Callback<KeyEventArg, EventResult>, AllowPin>
§single_line: FieldOffset<TextInput, Property<bool>, AllowPin>
§read_only: FieldOffset<TextInput, Property<bool>, AllowPin>
§preedit_text: FieldOffset<TextInput, Property<SharedString>, AllowPin>
§cached_rendering_data: FieldOffset<TextInput, CachedRenderingData, AllowPin>
Auto Trait Implementations§
impl Freeze for TextInputFieldsOffsets
impl !RefUnwindSafe for TextInputFieldsOffsets
impl !Send for TextInputFieldsOffsets
impl !Sync for TextInputFieldsOffsets
impl !Unpin for TextInputFieldsOffsets
impl !UnwindSafe for TextInputFieldsOffsets
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