Struct i_slint_core::items::RectangleFieldsOffsets
source · [−]pub struct RectangleFieldsOffsets {
pub background: FieldOffset<Rectangle, Property<Brush>, AllowPin>,
pub x: FieldOffset<Rectangle, Property<f32>, AllowPin>,
pub y: FieldOffset<Rectangle, Property<f32>, AllowPin>,
pub width: FieldOffset<Rectangle, Property<f32>, AllowPin>,
pub height: FieldOffset<Rectangle, Property<f32>, AllowPin>,
pub cached_rendering_data: FieldOffset<Rectangle, CachedRenderingData, AllowPin>,
}Expand description
Helper struct containing the offsets of the fields of the struct Rectangle
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields
background: FieldOffset<Rectangle, Property<Brush>, AllowPin>x: FieldOffset<Rectangle, Property<f32>, AllowPin>y: FieldOffset<Rectangle, Property<f32>, AllowPin>width: FieldOffset<Rectangle, Property<f32>, AllowPin>height: FieldOffset<Rectangle, Property<f32>, AllowPin>cached_rendering_data: FieldOffset<Rectangle, CachedRenderingData, AllowPin>Auto Trait Implementations
impl !RefUnwindSafe for RectangleFieldsOffsets
impl Send for RectangleFieldsOffsets
impl !Sync for RectangleFieldsOffsets
impl !Unpin for RectangleFieldsOffsets
impl UnwindSafe for RectangleFieldsOffsets
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