pub struct ContextMenuFieldsOffsets {
pub sub_menu: FieldOffset<ContextMenu, Callback<(MenuEntry,), ModelRc<MenuEntry>>, AllowPin>,
pub activated: FieldOffset<ContextMenu, Callback<(MenuEntry,)>, AllowPin>,
pub cached_rendering_data: FieldOffset<ContextMenu, CachedRenderingData, AllowPin>,
}
Expand description
Helper struct containing the offsets of the fields of the struct ContextMenu
Generated from the #[derive(FieldOffsets)]
macro from the const-field-offset
crate
Fields§
§activated: FieldOffset<ContextMenu, Callback<(MenuEntry,)>, AllowPin>
§cached_rendering_data: FieldOffset<ContextMenu, CachedRenderingData, AllowPin>
Auto Trait Implementations§
impl Freeze for ContextMenuFieldsOffsets
impl !RefUnwindSafe for ContextMenuFieldsOffsets
impl !Send for ContextMenuFieldsOffsets
impl !Sync for ContextMenuFieldsOffsets
impl Unpin for ContextMenuFieldsOffsets
impl !UnwindSafe for ContextMenuFieldsOffsets
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