Struct i_slint_core::items::ClippedImageFieldsOffsets
source · pub struct ClippedImageFieldsOffsets {
pub source: FieldOffset<ClippedImage, Property<Image>, AllowPin>,
pub width: FieldOffset<ClippedImage, Property<LogicalLength>, AllowPin>,
pub height: FieldOffset<ClippedImage, Property<LogicalLength>, AllowPin>,
pub image_fit: FieldOffset<ClippedImage, Property<ImageFit>, AllowPin>,
pub image_rendering: FieldOffset<ClippedImage, Property<ImageRendering>, AllowPin>,
pub colorize: FieldOffset<ClippedImage, Property<Brush>, AllowPin>,
pub source_clip_x: FieldOffset<ClippedImage, Property<i32>, AllowPin>,
pub source_clip_y: FieldOffset<ClippedImage, Property<i32>, AllowPin>,
pub source_clip_width: FieldOffset<ClippedImage, Property<i32>, AllowPin>,
pub source_clip_height: FieldOffset<ClippedImage, Property<i32>, AllowPin>,
pub cached_rendering_data: FieldOffset<ClippedImage, CachedRenderingData, AllowPin>,
}Expand description
Helper struct containing the offsets of the fields of the struct ClippedImage
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields§
§source: FieldOffset<ClippedImage, Property<Image>, AllowPin>§width: FieldOffset<ClippedImage, Property<LogicalLength>, AllowPin>§height: FieldOffset<ClippedImage, Property<LogicalLength>, AllowPin>§image_fit: FieldOffset<ClippedImage, Property<ImageFit>, AllowPin>§image_rendering: FieldOffset<ClippedImage, Property<ImageRendering>, AllowPin>§colorize: FieldOffset<ClippedImage, Property<Brush>, AllowPin>§source_clip_x: FieldOffset<ClippedImage, Property<i32>, AllowPin>§source_clip_y: FieldOffset<ClippedImage, Property<i32>, AllowPin>§source_clip_width: FieldOffset<ClippedImage, Property<i32>, AllowPin>§source_clip_height: FieldOffset<ClippedImage, Property<i32>, AllowPin>§cached_rendering_data: FieldOffset<ClippedImage, CachedRenderingData, AllowPin>Auto Trait Implementations§
impl !RefUnwindSafe for ClippedImageFieldsOffsets
impl !Send for ClippedImageFieldsOffsets
impl !Sync for ClippedImageFieldsOffsets
impl !Unpin for ClippedImageFieldsOffsets
impl !UnwindSafe for ClippedImageFieldsOffsets
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