[][src]Struct sixtyfps_corelib::items::TextInputFieldsOffsets

pub struct TextInputFieldsOffsets {
    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<Color>, 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 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, Signal<()>, AllowPin>,
    pub edited: FieldOffset<TextInput, Signal<()>, AllowPin>,
    pub pressed: FieldOffset<TextInput, Cell<bool>, AllowPin>,
    pub cached_rendering_data: FieldOffset<TextInput, CachedRenderingData, AllowPin>,
}

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<Color>, 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>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, Signal<()>, AllowPin>edited: FieldOffset<TextInput, Signal<()>, AllowPin>pressed: FieldOffset<TextInput, Cell<bool>, AllowPin>cached_rendering_data: FieldOffset<TextInput, CachedRenderingData, AllowPin>

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.