[][src]Struct sixtyfps_corelib::items::TextFieldsOffsets

pub struct TextFieldsOffsets {
    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<Color>, AllowPin>,
    pub horizontal_alignment: FieldOffset<Text, Property<TextHorizontalAlignment>, AllowPin>,
    pub vertical_alignment: FieldOffset<Text, Property<TextVerticalAlignment>, 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>,
}

Helper struct containing the offsets of the fields of the struct Text

Generated from the derive macro const-field-offset::FieldOffsets

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<Color>, AllowPin>horizontal_alignment: FieldOffset<Text, Property<TextHorizontalAlignment>, AllowPin>vertical_alignment: FieldOffset<Text, Property<TextVerticalAlignment>, 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>

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.