pub struct TransformFieldsOffsets {
pub transform_rotation: FieldOffset<Transform, Property<f32>, AllowPin>,
pub transform_scale_x: FieldOffset<Transform, Property<f32>, AllowPin>,
pub transform_scale_y: FieldOffset<Transform, Property<f32>, AllowPin>,
pub transform_origin: FieldOffset<Transform, Property<LogicalPosition>, AllowPin>,
pub cached_rendering_data: FieldOffset<Transform, CachedRenderingData, AllowPin>,
}Expand description
Helper struct containing the offsets of the fields of the struct Transform
Generated from the #[derive(FieldOffsets)] macro from the const-field-offset crate
Fields§
§transform_rotation: FieldOffset<Transform, Property<f32>, AllowPin>§transform_scale_x: FieldOffset<Transform, Property<f32>, AllowPin>§transform_scale_y: FieldOffset<Transform, Property<f32>, AllowPin>§transform_origin: FieldOffset<Transform, Property<LogicalPosition>, AllowPin>§cached_rendering_data: FieldOffset<Transform, CachedRenderingData, AllowPin>Auto Trait Implementations§
impl Freeze for TransformFieldsOffsets
impl !RefUnwindSafe for TransformFieldsOffsets
impl Send for TransformFieldsOffsets
impl !Sync for TransformFieldsOffsets
impl !Unpin for TransformFieldsOffsets
impl UnwindSafe for TransformFieldsOffsets
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