pub struct NativePaletteFieldsOffsets {Show 13 fields
pub background: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub alternate_background: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub alternate_foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub accent_background: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub accent_foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub control_background: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub control_foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub selection_background: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub selection_foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub border: FieldOffset<NativePalette, Property<Brush>, AllowPin>,
pub color_scheme: FieldOffset<NativePalette, Property<ColorScheme>, AllowPin>,
pub style_change_listener: FieldOffset<NativePalette, Cell<*const u8>, AllowPin>,
}
Expand description
Helper struct containing the offsets of the fields of the struct NativePalette
Generated from the #[derive(FieldOffsets)]
macro from the const-field-offset
crate
Fields§
§background: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§alternate_background: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§alternate_foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§accent_background: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§accent_foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§control_background: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§control_foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§selection_background: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§selection_foreground: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§border: FieldOffset<NativePalette, Property<Brush>, AllowPin>
§color_scheme: FieldOffset<NativePalette, Property<ColorScheme>, AllowPin>
§style_change_listener: FieldOffset<NativePalette, Cell<*const u8>, AllowPin>
Auto Trait Implementations§
impl Freeze for NativePaletteFieldsOffsets
impl !RefUnwindSafe for NativePaletteFieldsOffsets
impl !Send for NativePaletteFieldsOffsets
impl !Sync for NativePaletteFieldsOffsets
impl !Unpin for NativePaletteFieldsOffsets
impl UnwindSafe for NativePaletteFieldsOffsets
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