Struct i_slint_core::items::FocusScopeFieldsOffsets
source · [−]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
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