pub struct ShapeRotationConfig {
pub rotation_radians: f32,
pub flip_x: bool,
pub flip_y: bool,
}Fields§
§rotation_radians: f32Rotation angle in radians.
flip_x: boolMirror horizontally (applied before rotation).
flip_y: boolMirror vertically (applied before rotation).
Implementations§
Trait Implementations§
Source§impl Clone for ShapeRotationConfig
impl Clone for ShapeRotationConfig
Source§fn clone(&self) -> ShapeRotationConfig
fn clone(&self) -> ShapeRotationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShapeRotationConfig
impl Debug for ShapeRotationConfig
Source§impl Default for ShapeRotationConfig
impl Default for ShapeRotationConfig
impl Copy for ShapeRotationConfig
Auto Trait Implementations§
impl Freeze for ShapeRotationConfig
impl RefUnwindSafe for ShapeRotationConfig
impl Send for ShapeRotationConfig
impl Sync for ShapeRotationConfig
impl Unpin for ShapeRotationConfig
impl UnsafeUnpin for ShapeRotationConfig
impl UnwindSafe for ShapeRotationConfig
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