pub struct MenuItemFieldsOffsets {
pub cached_rendering_data: FieldOffset<MenuItem, CachedRenderingData, AllowPin>,
pub title: FieldOffset<MenuItem, Property<SharedString>, AllowPin>,
pub activated: FieldOffset<MenuItem, Callback<VoidArg>, AllowPin>,
pub enabled: FieldOffset<MenuItem, Property<bool>, AllowPin>,
pub checkable: FieldOffset<MenuItem, Property<bool>, AllowPin>,
pub checked: FieldOffset<MenuItem, Property<bool>, AllowPin>,
pub icon: FieldOffset<MenuItem, Property<Image>, AllowPin>,
}Expand description
Helper struct containing the offsets of the fields of the struct MenuItem
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields§
§cached_rendering_data: FieldOffset<MenuItem, CachedRenderingData, AllowPin>§title: FieldOffset<MenuItem, Property<SharedString>, AllowPin>§activated: FieldOffset<MenuItem, Callback<VoidArg>, AllowPin>§enabled: FieldOffset<MenuItem, Property<bool>, AllowPin>§checkable: FieldOffset<MenuItem, Property<bool>, AllowPin>§checked: FieldOffset<MenuItem, Property<bool>, AllowPin>§icon: FieldOffset<MenuItem, Property<Image>, AllowPin>Auto Trait Implementations§
impl Freeze for MenuItemFieldsOffsets
impl !RefUnwindSafe for MenuItemFieldsOffsets
impl !Send for MenuItemFieldsOffsets
impl !Sync for MenuItemFieldsOffsets
impl !Unpin for MenuItemFieldsOffsets
impl !UnwindSafe for MenuItemFieldsOffsets
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