Struct i_slint_core::items::ImageItemFieldsOffsets
source · [−]pub struct ImageItemFieldsOffsets {
pub source: FieldOffset<ImageItem, Property<Image>, AllowPin>,
pub x: FieldOffset<ImageItem, Property<Coord>, AllowPin>,
pub y: FieldOffset<ImageItem, Property<Coord>, AllowPin>,
pub width: FieldOffset<ImageItem, Property<Coord>, AllowPin>,
pub height: FieldOffset<ImageItem, Property<Coord>, 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<Coord>, AllowPin>
y: FieldOffset<ImageItem, Property<Coord>, AllowPin>
width: FieldOffset<ImageItem, Property<Coord>, AllowPin>
height: FieldOffset<ImageItem, Property<Coord>, 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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more