pub struct NativeSliderFieldsOffsets {
pub orientation: FieldOffset<NativeSlider, Property<Orientation>, AllowPin>,
pub enabled: FieldOffset<NativeSlider, Property<bool>, AllowPin>,
pub has_focus: FieldOffset<NativeSlider, Property<bool>, AllowPin>,
pub value: FieldOffset<NativeSlider, Property<f32>, AllowPin>,
pub minimum: FieldOffset<NativeSlider, Property<f32>, AllowPin>,
pub maximum: FieldOffset<NativeSlider, Property<f32>, AllowPin>,
pub step: FieldOffset<NativeSlider, Property<f32>, AllowPin>,
pub cached_rendering_data: FieldOffset<NativeSlider, CachedRenderingData, AllowPin>,
pub changed: FieldOffset<NativeSlider, Callback<(f32,)>, AllowPin>,
pub released: FieldOffset<NativeSlider, Callback<(f32,)>, AllowPin>,
/* private fields */
}
Expand description
Helper struct containing the offsets of the fields of the struct NativeSlider
Generated from the #[derive(FieldOffsets)]
macro from the const-field-offset
crate
Fields§
§orientation: FieldOffset<NativeSlider, Property<Orientation>, AllowPin>
§enabled: FieldOffset<NativeSlider, Property<bool>, AllowPin>
§has_focus: FieldOffset<NativeSlider, Property<bool>, AllowPin>
§value: FieldOffset<NativeSlider, Property<f32>, AllowPin>
§minimum: FieldOffset<NativeSlider, Property<f32>, AllowPin>
§maximum: FieldOffset<NativeSlider, Property<f32>, AllowPin>
§step: FieldOffset<NativeSlider, Property<f32>, AllowPin>
§cached_rendering_data: FieldOffset<NativeSlider, CachedRenderingData, AllowPin>
§changed: FieldOffset<NativeSlider, Callback<(f32,)>, AllowPin>
§released: FieldOffset<NativeSlider, Callback<(f32,)>, AllowPin>
Auto Trait Implementations§
impl Freeze for NativeSliderFieldsOffsets
impl !RefUnwindSafe for NativeSliderFieldsOffsets
impl !Send for NativeSliderFieldsOffsets
impl !Sync for NativeSliderFieldsOffsets
impl !Unpin for NativeSliderFieldsOffsets
impl !UnwindSafe for NativeSliderFieldsOffsets
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