logo
pub struct ClippedImageFieldsOffsets {
Show 13 fields pub source: FieldOffset<ClippedImage, Property<Image>, AllowPin>, pub x: FieldOffset<ClippedImage, Property<Coord>, AllowPin>, pub y: FieldOffset<ClippedImage, Property<Coord>, AllowPin>, pub width: FieldOffset<ClippedImage, Property<Coord>, AllowPin>, pub height: FieldOffset<ClippedImage, Property<Coord>, 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<Coord>, AllowPin>y: FieldOffset<ClippedImage, Property<Coord>, AllowPin>width: FieldOffset<ClippedImage, Property<Coord>, AllowPin>height: FieldOffset<ClippedImage, Property<Coord>, 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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.