logo
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

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.