Struct i_slint_core::items::ImageItemFieldsOffsets
source · pub struct ImageItemFieldsOffsets {
pub source: FieldOffset<ImageItem, Property<Image>, AllowPin>,
pub width: FieldOffset<ImageItem, Property<LogicalLength>, AllowPin>,
pub height: FieldOffset<ImageItem, Property<LogicalLength>, AllowPin>,
pub image_fit: FieldOffset<ImageItem, Property<ImageFit>, AllowPin>,
pub image_rendering: FieldOffset<ImageItem, Property<ImageRendering>, AllowPin>,
pub colorize: FieldOffset<ImageItem, Property<Brush>, AllowPin>,
pub cached_rendering_data: FieldOffset<ImageItem, CachedRenderingData, AllowPin>,
}Expand description
Helper struct containing the offsets of the fields of the struct ImageItem
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields§
§source: FieldOffset<ImageItem, Property<Image>, AllowPin>§width: FieldOffset<ImageItem, Property<LogicalLength>, AllowPin>§height: FieldOffset<ImageItem, Property<LogicalLength>, AllowPin>§image_fit: FieldOffset<ImageItem, Property<ImageFit>, AllowPin>§image_rendering: FieldOffset<ImageItem, Property<ImageRendering>, AllowPin>§colorize: FieldOffset<ImageItem, Property<Brush>, AllowPin>§cached_rendering_data: FieldOffset<ImageItem, CachedRenderingData, AllowPin>Auto Trait Implementations§
impl !RefUnwindSafe for ImageItemFieldsOffsets
impl !Send for ImageItemFieldsOffsets
impl !Sync for ImageItemFieldsOffsets
impl !Unpin for ImageItemFieldsOffsets
impl !UnwindSafe for ImageItemFieldsOffsets
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more