Struct i_slint_core::items::ImageItemFieldsOffsets
source · [−]pub struct ImageItemFieldsOffsets {
pub source: FieldOffset<ImageItem, Property<Image>, AllowPin>,
pub x: FieldOffset<ImageItem, Property<f32>, AllowPin>,
pub y: FieldOffset<ImageItem, Property<f32>, AllowPin>,
pub width: FieldOffset<ImageItem, Property<f32>, AllowPin>,
pub height: FieldOffset<ImageItem, Property<f32>, AllowPin>,
pub image_fit: FieldOffset<ImageItem, Property<ImageFit>, AllowPin>,
pub image_rendering: FieldOffset<ImageItem, Property<ImageRendering>, 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>x: FieldOffset<ImageItem, Property<f32>, AllowPin>y: FieldOffset<ImageItem, Property<f32>, AllowPin>width: FieldOffset<ImageItem, Property<f32>, AllowPin>height: FieldOffset<ImageItem, Property<f32>, AllowPin>image_fit: FieldOffset<ImageItem, Property<ImageFit>, AllowPin>image_rendering: FieldOffset<ImageItem, Property<ImageRendering>, 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more