logo
pub struct WindowItemFieldsOffsets {
    pub width: FieldOffset<WindowItem, Property<Coord>, AllowPin>,
    pub height: FieldOffset<WindowItem, Property<Coord>, AllowPin>,
    pub background: FieldOffset<WindowItem, Property<Color>, AllowPin>,
    pub title: FieldOffset<WindowItem, Property<SharedString>, AllowPin>,
    pub no_frame: FieldOffset<WindowItem, Property<bool>, AllowPin>,
    pub icon: FieldOffset<WindowItem, Property<Image>, AllowPin>,
    pub default_font_family: FieldOffset<WindowItem, Property<SharedString>, AllowPin>,
    pub default_font_size: FieldOffset<WindowItem, Property<Coord>, AllowPin>,
    pub default_font_weight: FieldOffset<WindowItem, Property<i32>, AllowPin>,
    pub cached_rendering_data: FieldOffset<WindowItem, CachedRenderingData, AllowPin>,
}
Expand description

Helper struct containing the offsets of the fields of the struct WindowItem

Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate

Fields

width: FieldOffset<WindowItem, Property<Coord>, AllowPin>height: FieldOffset<WindowItem, Property<Coord>, AllowPin>background: FieldOffset<WindowItem, Property<Color>, AllowPin>title: FieldOffset<WindowItem, Property<SharedString>, AllowPin>no_frame: FieldOffset<WindowItem, Property<bool>, AllowPin>icon: FieldOffset<WindowItem, Property<Image>, AllowPin>default_font_family: FieldOffset<WindowItem, Property<SharedString>, AllowPin>default_font_size: FieldOffset<WindowItem, Property<Coord>, AllowPin>default_font_weight: FieldOffset<WindowItem, Property<i32>, AllowPin>cached_rendering_data: FieldOffset<WindowItem, 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.