logo
pub struct BorderRectangleFieldsOffsets {
    pub background: FieldOffset<BorderRectangle, Property<Brush>, AllowPin>,
    pub x: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>,
    pub y: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>,
    pub width: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>,
    pub height: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>,
    pub border_width: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>,
    pub border_radius: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>,
    pub border_color: FieldOffset<BorderRectangle, Property<Brush>, AllowPin>,
    pub cached_rendering_data: FieldOffset<BorderRectangle, CachedRenderingData, AllowPin>,
}
Expand description

Helper struct containing the offsets of the fields of the struct BorderRectangle

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

Fields

background: FieldOffset<BorderRectangle, Property<Brush>, AllowPin>x: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>y: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>width: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>height: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>border_width: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>border_radius: FieldOffset<BorderRectangle, Property<Coord>, AllowPin>border_color: FieldOffset<BorderRectangle, Property<Brush>, AllowPin>cached_rendering_data: FieldOffset<BorderRectangle, 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.