logo
pub struct RotateFieldsOffsets {
    pub angle: FieldOffset<Rotate, Property<f32>, AllowPin>,
    pub origin_x: FieldOffset<Rotate, Property<Coord>, AllowPin>,
    pub origin_y: FieldOffset<Rotate, Property<Coord>, AllowPin>,
    pub width: FieldOffset<Rotate, Property<Coord>, AllowPin>,
    pub height: FieldOffset<Rotate, Property<Coord>, AllowPin>,
    pub cached_rendering_data: FieldOffset<Rotate, CachedRenderingData, AllowPin>,
}
Expand description

Helper struct containing the offsets of the fields of the struct Rotate

Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate

Fields

angle: FieldOffset<Rotate, Property<f32>, AllowPin>origin_x: FieldOffset<Rotate, Property<Coord>, AllowPin>origin_y: FieldOffset<Rotate, Property<Coord>, AllowPin>width: FieldOffset<Rotate, Property<Coord>, AllowPin>height: FieldOffset<Rotate, Property<Coord>, AllowPin>cached_rendering_data: FieldOffset<Rotate, 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.