Struct sixtyfps_corelib::items::TextFieldsOffsets [−][src]
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<f32>, 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<f32>, AllowPin>,
pub x: FieldOffset<Text, Property<f32>, AllowPin>,
pub y: FieldOffset<Text, Property<f32>, AllowPin>,
pub width: FieldOffset<Text, Property<f32>, AllowPin>,
pub height: FieldOffset<Text, Property<f32>, 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<f32>, 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<f32>, AllowPin>x: FieldOffset<Text, Property<f32>, AllowPin>y: FieldOffset<Text, Property<f32>, AllowPin>width: FieldOffset<Text, Property<f32>, AllowPin>height: FieldOffset<Text, Property<f32>, AllowPin>cached_rendering_data: FieldOffset<Text, CachedRenderingData, AllowPin>