Struct i_slint_core::items::WindowItemFieldsOffsets
source · [−]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
impl !RefUnwindSafe for WindowItemFieldsOffsets
impl Send for WindowItemFieldsOffsets
impl !Sync for WindowItemFieldsOffsets
impl !Unpin for WindowItemFieldsOffsets
impl UnwindSafe for WindowItemFieldsOffsets
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more