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