Struct i_slint_core::items::ClippedImageFieldsOffsets
source · [−]pub struct ClippedImageFieldsOffsets {Show 13 fields
pub source: FieldOffset<ClippedImage, Property<Image>, AllowPin>,
pub x: FieldOffset<ClippedImage, Property<f32>, AllowPin>,
pub y: FieldOffset<ClippedImage, Property<f32>, AllowPin>,
pub width: FieldOffset<ClippedImage, Property<f32>, AllowPin>,
pub height: FieldOffset<ClippedImage, Property<f32>, 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>x: FieldOffset<ClippedImage, Property<f32>, AllowPin>y: FieldOffset<ClippedImage, Property<f32>, AllowPin>width: FieldOffset<ClippedImage, Property<f32>, AllowPin>height: FieldOffset<ClippedImage, Property<f32>, 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
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