logo
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<Coord>, 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<Coord>, AllowPin>, pub x: FieldOffset<Text, Property<Coord>, AllowPin>, pub y: FieldOffset<Text, Property<Coord>, AllowPin>, pub width: FieldOffset<Text, Property<Coord>, AllowPin>, pub height: FieldOffset<Text, Property<Coord>, 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<Coord>, 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<Coord>, AllowPin>x: FieldOffset<Text, Property<Coord>, AllowPin>y: FieldOffset<Text, Property<Coord>, AllowPin>width: FieldOffset<Text, Property<Coord>, AllowPin>height: FieldOffset<Text, Property<Coord>, AllowPin>cached_rendering_data: FieldOffset<Text, CachedRenderingData, AllowPin>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.