pub struct TextInputFieldsOffsets;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
Implementations§
Source§impl TextInputFieldsOffsets
impl TextInputFieldsOffsets
pub const fn text( self, ) -> FieldOffset<TextInput, Property<SharedString>, AllowPin>
pub const fn font_family( self, ) -> FieldOffset<TextInput, Property<SharedString>, AllowPin>
pub const fn font_size( self, ) -> FieldOffset<TextInput, Property<LogicalLength>, AllowPin>
pub const fn font_weight( self, ) -> FieldOffset<TextInput, Property<i32>, AllowPin>
pub const fn font_italic( self, ) -> FieldOffset<TextInput, Property<bool>, AllowPin>
pub const fn color(self) -> FieldOffset<TextInput, Property<Brush>, AllowPin>
pub const fn selection_foreground_color( self, ) -> FieldOffset<TextInput, Property<Color>, AllowPin>
pub const fn selection_background_color( self, ) -> FieldOffset<TextInput, Property<Color>, AllowPin>
pub const fn horizontal_alignment( self, ) -> FieldOffset<TextInput, Property<TextHorizontalAlignment>, AllowPin>
pub const fn vertical_alignment( self, ) -> FieldOffset<TextInput, Property<TextVerticalAlignment>, AllowPin>
pub const fn wrap(self) -> FieldOffset<TextInput, Property<TextWrap>, AllowPin>
pub const fn input_type( self, ) -> FieldOffset<TextInput, Property<InputType>, AllowPin>
pub const fn letter_spacing( self, ) -> FieldOffset<TextInput, Property<LogicalLength>, AllowPin>
pub const fn width( self, ) -> FieldOffset<TextInput, Property<LogicalLength>, AllowPin>
pub const fn height( self, ) -> FieldOffset<TextInput, Property<LogicalLength>, AllowPin>
pub const fn cursor_position_byte_offset( self, ) -> FieldOffset<TextInput, Property<i32>, AllowPin>
pub const fn anchor_position_byte_offset( self, ) -> FieldOffset<TextInput, Property<i32>, AllowPin>
pub const fn text_cursor_width( self, ) -> FieldOffset<TextInput, Property<LogicalLength>, AllowPin>
pub const fn page_height( self, ) -> FieldOffset<TextInput, Property<LogicalLength>, AllowPin>
pub const fn cursor_visible( self, ) -> FieldOffset<TextInput, Property<bool>, AllowPin>
pub const fn has_focus(self) -> FieldOffset<TextInput, Property<bool>, AllowPin>
pub const fn enabled(self) -> FieldOffset<TextInput, Property<bool>, AllowPin>
pub const fn accepted( self, ) -> FieldOffset<TextInput, Callback<VoidArg>, AllowPin>
pub const fn cursor_position_changed( self, ) -> FieldOffset<TextInput, Callback<(LogicalPosition,)>, AllowPin>
pub const fn edited(self) -> FieldOffset<TextInput, Callback<VoidArg>, AllowPin>
pub const fn key_pressed( self, ) -> FieldOffset<TextInput, Callback<KeyEventArg, EventResult>, AllowPin>
pub const fn key_released( self, ) -> FieldOffset<TextInput, Callback<KeyEventArg, EventResult>, AllowPin>
pub const fn single_line( self, ) -> FieldOffset<TextInput, Property<bool>, AllowPin>
pub const fn read_only(self) -> FieldOffset<TextInput, Property<bool>, AllowPin>
pub const fn preedit_text( self, ) -> FieldOffset<TextInput, Property<SharedString>, AllowPin>
pub const fn cached_rendering_data( self, ) -> 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 UnsafeUnpin 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