logo
pub struct LayerFieldsOffsets {
    pub x: FieldOffset<Layer, Property<Coord>, AllowPin>,
    pub y: FieldOffset<Layer, Property<Coord>, AllowPin>,
    pub width: FieldOffset<Layer, Property<Coord>, AllowPin>,
    pub height: FieldOffset<Layer, Property<Coord>, AllowPin>,
    pub cache_rendering_hint: FieldOffset<Layer, Property<bool>, AllowPin>,
    pub cached_rendering_data: FieldOffset<Layer, CachedRenderingData, AllowPin>,
}
Expand description

Helper struct containing the offsets of the fields of the struct Layer

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

Fields

x: FieldOffset<Layer, Property<Coord>, AllowPin>y: FieldOffset<Layer, Property<Coord>, AllowPin>width: FieldOffset<Layer, Property<Coord>, AllowPin>height: FieldOffset<Layer, Property<Coord>, AllowPin>cache_rendering_hint: FieldOffset<Layer, Property<bool>, AllowPin>cached_rendering_data: FieldOffset<Layer, 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.