pub struct NativeButtonFieldsOffsets {Show 15 fields
    pub text: FieldOffset<NativeButton, Property<SharedString>, AllowPin>,
    pub icon: FieldOffset<NativeButton, Property<Image>, AllowPin>,
    pub icon_size: FieldOffset<NativeButton, Property<LogicalLength>, AllowPin>,
    pub pressed: FieldOffset<NativeButton, Property<bool>, AllowPin>,
    pub has_hover: FieldOffset<NativeButton, Property<bool>, AllowPin>,
    pub checkable: FieldOffset<NativeButton, Property<bool>, AllowPin>,
    pub checked: FieldOffset<NativeButton, Property<bool>, AllowPin>,
    pub primary: FieldOffset<NativeButton, Property<bool>, AllowPin>,
    pub has_focus: FieldOffset<NativeButton, Property<bool>, AllowPin>,
    pub clicked: FieldOffset<NativeButton, Callback<VoidArg>, AllowPin>,
    pub enabled: FieldOffset<NativeButton, Property<bool>, AllowPin>,
    pub colorize_icon: FieldOffset<NativeButton, Property<bool>, AllowPin>,
    pub standard_button_kind: FieldOffset<NativeButton, Property<StandardButtonKind>, AllowPin>,
    pub is_standard_button: FieldOffset<NativeButton, Property<bool>, AllowPin>,
    pub cached_rendering_data: FieldOffset<NativeButton, CachedRenderingData, AllowPin>,
    /* private fields */
}Expand description
Helper struct containing the offsets of the fields of the struct NativeButton
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields§
§text: FieldOffset<NativeButton, Property<SharedString>, AllowPin>§icon: FieldOffset<NativeButton, Property<Image>, AllowPin>§icon_size: FieldOffset<NativeButton, Property<LogicalLength>, AllowPin>§pressed: FieldOffset<NativeButton, Property<bool>, AllowPin>§has_hover: FieldOffset<NativeButton, Property<bool>, AllowPin>§checkable: FieldOffset<NativeButton, Property<bool>, AllowPin>§checked: FieldOffset<NativeButton, Property<bool>, AllowPin>§primary: FieldOffset<NativeButton, Property<bool>, AllowPin>§has_focus: FieldOffset<NativeButton, Property<bool>, AllowPin>§clicked: FieldOffset<NativeButton, Callback<VoidArg>, AllowPin>§enabled: FieldOffset<NativeButton, Property<bool>, AllowPin>§colorize_icon: FieldOffset<NativeButton, Property<bool>, AllowPin>§cached_rendering_data: FieldOffset<NativeButton, CachedRenderingData, AllowPin>Auto Trait Implementations§
impl Freeze for NativeButtonFieldsOffsets
impl !RefUnwindSafe for NativeButtonFieldsOffsets
impl !Send for NativeButtonFieldsOffsets
impl !Sync for NativeButtonFieldsOffsets
impl !Unpin for NativeButtonFieldsOffsets
impl !UnwindSafe for NativeButtonFieldsOffsets
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