Struct i_slint_core::items::RectangleFieldsOffsets
source · [−]pub struct RectangleFieldsOffsets {
pub background: FieldOffset<Rectangle, Property<Brush>, AllowPin>,
pub x: FieldOffset<Rectangle, Property<Coord>, AllowPin>,
pub y: FieldOffset<Rectangle, Property<Coord>, AllowPin>,
pub width: FieldOffset<Rectangle, Property<Coord>, AllowPin>,
pub height: FieldOffset<Rectangle, Property<Coord>, 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<Coord>, AllowPin>
y: FieldOffset<Rectangle, Property<Coord>, AllowPin>
width: FieldOffset<Rectangle, Property<Coord>, AllowPin>
height: FieldOffset<Rectangle, Property<Coord>, 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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more