Struct i_slint_core::items::BorderRectangleFieldsOffsets
source · [−]pub struct BorderRectangleFieldsOffsets {
pub background: FieldOffset<BorderRectangle, Property<Brush>, AllowPin>,
pub x: FieldOffset<BorderRectangle, Property<f32>, AllowPin>,
pub y: FieldOffset<BorderRectangle, Property<f32>, AllowPin>,
pub width: FieldOffset<BorderRectangle, Property<f32>, AllowPin>,
pub height: FieldOffset<BorderRectangle, Property<f32>, AllowPin>,
pub border_width: FieldOffset<BorderRectangle, Property<f32>, AllowPin>,
pub border_radius: FieldOffset<BorderRectangle, Property<f32>, AllowPin>,
pub border_color: FieldOffset<BorderRectangle, Property<Brush>, AllowPin>,
pub cached_rendering_data: FieldOffset<BorderRectangle, CachedRenderingData, AllowPin>,
}Expand description
Helper struct containing the offsets of the fields of the struct BorderRectangle
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields
background: FieldOffset<BorderRectangle, Property<Brush>, AllowPin>x: FieldOffset<BorderRectangle, Property<f32>, AllowPin>y: FieldOffset<BorderRectangle, Property<f32>, AllowPin>width: FieldOffset<BorderRectangle, Property<f32>, AllowPin>height: FieldOffset<BorderRectangle, Property<f32>, AllowPin>border_width: FieldOffset<BorderRectangle, Property<f32>, AllowPin>border_radius: FieldOffset<BorderRectangle, Property<f32>, AllowPin>border_color: FieldOffset<BorderRectangle, Property<Brush>, AllowPin>cached_rendering_data: FieldOffset<BorderRectangle, CachedRenderingData, AllowPin>Auto Trait Implementations
impl !RefUnwindSafe for BorderRectangleFieldsOffsets
impl Send for BorderRectangleFieldsOffsets
impl !Sync for BorderRectangleFieldsOffsets
impl !Unpin for BorderRectangleFieldsOffsets
impl UnwindSafe for BorderRectangleFieldsOffsets
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more