Struct sixtyfps_corelib::items::WindowItemFieldsOffsets [−][src]
pub struct WindowItemFieldsOffsets {
pub width: FieldOffset<WindowItem, Property<f32>, AllowPin>,
pub height: FieldOffset<WindowItem, Property<f32>, 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<f32>, 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<f32>, AllowPin>height: FieldOffset<WindowItem, Property<f32>, 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<f32>, AllowPin>default_font_weight: FieldOffset<WindowItem, Property<i32>, AllowPin>cached_rendering_data: FieldOffset<WindowItem, CachedRenderingData, AllowPin>