pub struct RotateFieldsOffsets {
    pub x: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>,
    pub y: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>,
    pub rotation_angle: FieldOffset<Rotate, Property<f32>, AllowPin>,
    pub rotation_origin_x: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>,
    pub rotation_origin_y: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>,
    pub width: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>,
    pub height: FieldOffset<Rotate, Property<LogicalLength>, 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

x: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>y: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>rotation_angle: FieldOffset<Rotate, Property<f32>, AllowPin>rotation_origin_x: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>rotation_origin_y: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>width: FieldOffset<Rotate, Property<LogicalLength>, AllowPin>height: FieldOffset<Rotate, Property<LogicalLength>, 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.