pub struct TransformFieldsOffsets;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
Implementations§
Source§impl TransformFieldsOffsets
impl TransformFieldsOffsets
pub const fn transform_rotation( self, ) -> FieldOffset<Transform, Property<f32>, AllowPin>
pub const fn transform_scale_x( self, ) -> FieldOffset<Transform, Property<f32>, AllowPin>
pub const fn transform_scale_y( self, ) -> FieldOffset<Transform, Property<f32>, AllowPin>
pub const fn transform_origin( self, ) -> FieldOffset<Transform, Property<LogicalPosition>, AllowPin>
pub const fn cached_rendering_data( self, ) -> 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 UnsafeUnpin 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