pub struct FocusScopeFieldsOffsets {
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 focus_changed_event: FieldOffset<FocusScope, Callback<VoidArg>, 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§
§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>
§focus_changed_event: FieldOffset<FocusScope, Callback<VoidArg>, AllowPin>
§cached_rendering_data: FieldOffset<FocusScope, CachedRenderingData, AllowPin>
Auto Trait Implementations§
impl Freeze for FocusScopeFieldsOffsets
impl !RefUnwindSafe for FocusScopeFieldsOffsets
impl !Send for FocusScopeFieldsOffsets
impl !Sync for FocusScopeFieldsOffsets
impl !Unpin for FocusScopeFieldsOffsets
impl !UnwindSafe for FocusScopeFieldsOffsets
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more