pub struct Transform {
pub x: Emu,
pub y: Emu,
pub cx: Emu,
pub cy: Emu,
pub rot: i64,
pub flip_h: bool,
pub flip_v: bool,
}Expand description
Position and size of a shape (20.1.7.6).
Fields§
§x: Emu§y: Emu§cx: Emu§cy: Emu§rot: i64Rotation in 60,000ths of a degree, clockwise.
flip_h: bool§flip_v: boolTrait Implementations§
impl Copy for Transform
impl Eq for Transform
impl StructuralPartialEq for Transform
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnsafeUnpin for Transform
impl UnwindSafe for Transform
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