logo
pub struct FocusScopeFieldsOffsets {
    pub x: FieldOffset<FocusScope, Property<Coord>, AllowPin>,
    pub y: FieldOffset<FocusScope, Property<Coord>, AllowPin>,
    pub width: FieldOffset<FocusScope, Property<Coord>, AllowPin>,
    pub height: FieldOffset<FocusScope, Property<Coord>, AllowPin>,
    pub enabled: FieldOffset<FocusScope, Property<bool>, AllowPin>,
    pub has_focus: FieldOffset<FocusScope, Property<bool>, AllowPin>,
    pub key_pressed: FieldOffset<FocusScope, Callback<KeyEventArg, EventResult>, AllowPin>,
    pub key_released: FieldOffset<FocusScope, Callback<KeyEventArg, EventResult>, AllowPin>,
    pub cached_rendering_data: FieldOffset<FocusScope, CachedRenderingData, AllowPin>,
}
Expand description

Helper struct containing the offsets of the fields of the struct FocusScope

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

Fields

x: FieldOffset<FocusScope, Property<Coord>, AllowPin>y: FieldOffset<FocusScope, Property<Coord>, AllowPin>width: FieldOffset<FocusScope, Property<Coord>, AllowPin>height: FieldOffset<FocusScope, Property<Coord>, AllowPin>enabled: FieldOffset<FocusScope, Property<bool>, AllowPin>has_focus: FieldOffset<FocusScope, Property<bool>, AllowPin>key_pressed: FieldOffset<FocusScope, Callback<KeyEventArg, EventResult>, AllowPin>key_released: FieldOffset<FocusScope, Callback<KeyEventArg, EventResult>, AllowPin>cached_rendering_data: FieldOffset<FocusScope, 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.