Struct i_slint_core::items::FocusScopeFieldsOffsets
source · [−]pub struct FocusScopeFieldsOffsets {
pub x: FieldOffset<FocusScope, Property<f32>, AllowPin>,
pub y: FieldOffset<FocusScope, Property<f32>, AllowPin>,
pub width: FieldOffset<FocusScope, Property<f32>, AllowPin>,
pub height: FieldOffset<FocusScope, Property<f32>, 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<f32>, AllowPin>y: FieldOffset<FocusScope, Property<f32>, AllowPin>width: FieldOffset<FocusScope, Property<f32>, AllowPin>height: FieldOffset<FocusScope, Property<f32>, 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
impl !RefUnwindSafe for FocusScopeFieldsOffsets
impl !Send for FocusScopeFieldsOffsets
impl !Sync for FocusScopeFieldsOffsets
impl !Unpin for FocusScopeFieldsOffsets
impl !UnwindSafe for FocusScopeFieldsOffsets
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more