Struct i_slint_core::items::TextFieldsOffsets
source · pub struct TextFieldsOffsets {Show 15 fields
pub text: FieldOffset<Text, Property<SharedString>, AllowPin>,
pub font_family: FieldOffset<Text, Property<SharedString>, AllowPin>,
pub font_size: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub font_weight: FieldOffset<Text, Property<i32>, AllowPin>,
pub color: FieldOffset<Text, Property<Brush>, AllowPin>,
pub horizontal_alignment: FieldOffset<Text, Property<TextHorizontalAlignment>, AllowPin>,
pub vertical_alignment: FieldOffset<Text, Property<TextVerticalAlignment>, AllowPin>,
pub wrap: FieldOffset<Text, Property<TextWrap>, AllowPin>,
pub overflow: FieldOffset<Text, Property<TextOverflow>, AllowPin>,
pub letter_spacing: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub x: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub y: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub width: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub height: FieldOffset<Text, Property<LogicalLength>, AllowPin>,
pub cached_rendering_data: FieldOffset<Text, CachedRenderingData, AllowPin>,
}Expand description
Helper struct containing the offsets of the fields of the struct Text
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields§
§text: FieldOffset<Text, Property<SharedString>, AllowPin>§font_family: FieldOffset<Text, Property<SharedString>, AllowPin>§font_size: FieldOffset<Text, Property<LogicalLength>, AllowPin>§font_weight: FieldOffset<Text, Property<i32>, AllowPin>§color: FieldOffset<Text, Property<Brush>, AllowPin>§horizontal_alignment: FieldOffset<Text, Property<TextHorizontalAlignment>, AllowPin>§vertical_alignment: FieldOffset<Text, Property<TextVerticalAlignment>, AllowPin>§wrap: FieldOffset<Text, Property<TextWrap>, AllowPin>§overflow: FieldOffset<Text, Property<TextOverflow>, AllowPin>§letter_spacing: FieldOffset<Text, Property<LogicalLength>, AllowPin>§x: FieldOffset<Text, Property<LogicalLength>, AllowPin>§y: FieldOffset<Text, Property<LogicalLength>, AllowPin>§width: FieldOffset<Text, Property<LogicalLength>, AllowPin>§height: FieldOffset<Text, Property<LogicalLength>, AllowPin>§cached_rendering_data: FieldOffset<Text, CachedRenderingData, AllowPin>