pub struct InnerMenuItemBase_root_95FieldsOffsets {Show 46 fields
root_95: FieldOffset<InnerMenuItemBase_root_95, Empty, AllowPin>,
background_layer_96: FieldOffset<InnerMenuItemBase_root_95, BasicBorderRectangle, AllowPin>,
touch_area_visibility_97: FieldOffset<InnerMenuItemBase_root_95, Clip, AllowPin>,
touch_area_98: FieldOffset<InnerMenuItemBase_root_95, TouchArea, AllowPin>,
rectangle_100: FieldOffset<InnerMenuItemBase_root_95, Empty, AllowPin>,
image_103: FieldOffset<InnerMenuItemBase_root_95, ImageItem, AllowPin>,
label_Opacity_104: FieldOffset<InnerMenuItemBase_root_95, Opacity, AllowPin>,
label_105: FieldOffset<InnerMenuItemBase_root_95, SimpleText, AllowPin>,
root_95_background_layer_96_height: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_background_layer_96_width: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_current_background: FieldOffset<InnerMenuItemBase_root_95, Property<Brush>, AllowPin>,
root_95_current_foreground: FieldOffset<InnerMenuItemBase_root_95, Property<Brush>, AllowPin>,
root_95_default_foreground: FieldOffset<InnerMenuItemBase_root_95, Property<Brush>, AllowPin>,
root_95_entry: FieldOffset<InnerMenuItemBase_root_95, Property<MenuEntry>, AllowPin>,
root_95_height: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_horizontal_padding: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_icon_size: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_image_103_preferred_height: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_image_103_preferred_width: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_image_103_y: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_is_current: FieldOffset<InnerMenuItemBase_root_95, Property<bool>, AllowPin>,
root_95_label_105_font_metrics: FieldOffset<InnerMenuItemBase_root_95, Property<FontMetrics>, AllowPin>,
root_95_layout_99_layout_cache: FieldOffset<InnerMenuItemBase_root_95, Property<SharedVector<Coord>>, AllowPin>,
root_95_layout_99_layoutinfo_h: FieldOffset<InnerMenuItemBase_root_95, Property<LayoutInfo>, AllowPin>,
root_95_layout_99_layoutinfo_v: FieldOffset<InnerMenuItemBase_root_95, Property<LayoutInfo>, AllowPin>,
root_95_layout_99_spacing: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_separator_color: FieldOffset<InnerMenuItemBase_root_95, Property<Brush>, AllowPin>,
root_95_state: FieldOffset<InnerMenuItemBase_root_95, Property<i32>, AllowPin>,
root_95_sub_menu_icon: FieldOffset<InnerMenuItemBase_root_95, Property<Image>, AllowPin>,
root_95_touch_area_98_absolute_position: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalPosition>, AllowPin>,
root_95_touch_area_98_height: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_touch_area_98_width: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_width: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_x: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_y: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>,
root_95_activate: FieldOffset<InnerMenuItemBase_root_95, Callback<(MenuEntry, Coord), ()>, AllowPin>,
root_95_clear_current: FieldOffset<InnerMenuItemBase_root_95, Callback<(), ()>, AllowPin>,
root_95_set_current: FieldOffset<InnerMenuItemBase_root_95, Callback<(), ()>, AllowPin>,
repeater0: FieldOffset<InnerMenuItemBase_root_95, Conditional<InnerComponent_text_101>, AllowPin>,
repeater1: FieldOffset<InnerMenuItemBase_root_95, Conditional<InnerComponent_image_106>, AllowPin>,
repeater2: FieldOffset<InnerMenuItemBase_root_95, Conditional<InnerComponent_rectangle_108>, AllowPin>,
change_tracker0: FieldOffset<InnerMenuItemBase_root_95, ChangeTracker, AllowPin>,
self_weak: FieldOffset<InnerMenuItemBase_root_95, OnceCell<VWeakMapped<ItemTreeVTable, InnerMenuItemBase_root_95>>, AllowPin>,
globals: FieldOffset<InnerMenuItemBase_root_95, OnceCell<Rc<SharedGlobals>>, AllowPin>,
tree_index: FieldOffset<InnerMenuItemBase_root_95, Cell<u32>, AllowPin>,
tree_index_of_first_child: FieldOffset<InnerMenuItemBase_root_95, Cell<u32>, AllowPin>,
}Expand description
Helper struct containing the offsets of the fields of the struct InnerMenuItemBase_root_95
Generated from the #[derive(FieldOffsets)] macro from the [const-field-offset](sp :: const_field_offset) crate
Fields§
§root_95: FieldOffset<InnerMenuItemBase_root_95, Empty, AllowPin>§background_layer_96: FieldOffset<InnerMenuItemBase_root_95, BasicBorderRectangle, AllowPin>§touch_area_visibility_97: FieldOffset<InnerMenuItemBase_root_95, Clip, AllowPin>§touch_area_98: FieldOffset<InnerMenuItemBase_root_95, TouchArea, AllowPin>§rectangle_100: FieldOffset<InnerMenuItemBase_root_95, Empty, AllowPin>§image_103: FieldOffset<InnerMenuItemBase_root_95, ImageItem, AllowPin>§label_Opacity_104: FieldOffset<InnerMenuItemBase_root_95, Opacity, AllowPin>§label_105: FieldOffset<InnerMenuItemBase_root_95, SimpleText, AllowPin>§root_95_background_layer_96_height: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_background_layer_96_width: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_current_background: FieldOffset<InnerMenuItemBase_root_95, Property<Brush>, AllowPin>§root_95_current_foreground: FieldOffset<InnerMenuItemBase_root_95, Property<Brush>, AllowPin>§root_95_default_foreground: FieldOffset<InnerMenuItemBase_root_95, Property<Brush>, AllowPin>§root_95_entry: FieldOffset<InnerMenuItemBase_root_95, Property<MenuEntry>, AllowPin>§root_95_height: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_horizontal_padding: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_icon_size: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_image_103_preferred_height: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_image_103_preferred_width: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_image_103_y: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_is_current: FieldOffset<InnerMenuItemBase_root_95, Property<bool>, AllowPin>§root_95_label_105_font_metrics: FieldOffset<InnerMenuItemBase_root_95, Property<FontMetrics>, AllowPin>§root_95_layout_99_layout_cache: FieldOffset<InnerMenuItemBase_root_95, Property<SharedVector<Coord>>, AllowPin>§root_95_layout_99_layoutinfo_h: FieldOffset<InnerMenuItemBase_root_95, Property<LayoutInfo>, AllowPin>§root_95_layout_99_layoutinfo_v: FieldOffset<InnerMenuItemBase_root_95, Property<LayoutInfo>, AllowPin>§root_95_layout_99_spacing: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_separator_color: FieldOffset<InnerMenuItemBase_root_95, Property<Brush>, AllowPin>§root_95_state: FieldOffset<InnerMenuItemBase_root_95, Property<i32>, AllowPin>§root_95_touch_area_98_absolute_position: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalPosition>, AllowPin>§root_95_touch_area_98_height: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_touch_area_98_width: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_width: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_x: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_y: FieldOffset<InnerMenuItemBase_root_95, Property<LogicalLength>, AllowPin>§root_95_activate: FieldOffset<InnerMenuItemBase_root_95, Callback<(MenuEntry, Coord), ()>, AllowPin>§root_95_clear_current: FieldOffset<InnerMenuItemBase_root_95, Callback<(), ()>, AllowPin>§root_95_set_current: FieldOffset<InnerMenuItemBase_root_95, Callback<(), ()>, AllowPin>§repeater0: FieldOffset<InnerMenuItemBase_root_95, Conditional<InnerComponent_text_101>, AllowPin>§repeater1: FieldOffset<InnerMenuItemBase_root_95, Conditional<InnerComponent_image_106>, AllowPin>§repeater2: FieldOffset<InnerMenuItemBase_root_95, Conditional<InnerComponent_rectangle_108>, AllowPin>§change_tracker0: FieldOffset<InnerMenuItemBase_root_95, ChangeTracker, AllowPin>§self_weak: FieldOffset<InnerMenuItemBase_root_95, OnceCell<VWeakMapped<ItemTreeVTable, InnerMenuItemBase_root_95>>, AllowPin>§globals: FieldOffset<InnerMenuItemBase_root_95, OnceCell<Rc<SharedGlobals>>, AllowPin>§tree_index: FieldOffset<InnerMenuItemBase_root_95, Cell<u32>, AllowPin>§tree_index_of_first_child: FieldOffset<InnerMenuItemBase_root_95, Cell<u32>, AllowPin>Auto Trait Implementations§
impl Freeze for InnerMenuItemBase_root_95FieldsOffsets
impl !RefUnwindSafe for InnerMenuItemBase_root_95FieldsOffsets
impl !Send for InnerMenuItemBase_root_95FieldsOffsets
impl !Sync for InnerMenuItemBase_root_95FieldsOffsets
impl !Unpin for InnerMenuItemBase_root_95FieldsOffsets
impl UnsafeUnpin for InnerMenuItemBase_root_95FieldsOffsets
impl !UnwindSafe for InnerMenuItemBase_root_95FieldsOffsets
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more