pub struct XForm {
pub pin_x: f64,
pub pin_y: f64,
pub width: f64,
pub height: f64,
pub loc_pin_x: f64,
pub loc_pin_y: f64,
pub angle: f64,
pub flip_x: bool,
pub flip_y: bool,
}Expand description
Transform data for a shape (position, size, rotation, flips).
Fields§
§pin_x: f64§pin_y: f64§width: f64§height: f64§loc_pin_x: f64§loc_pin_y: f64§angle: f64§flip_x: bool§flip_y: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for XForm
impl RefUnwindSafe for XForm
impl Send for XForm
impl Sync for XForm
impl Unpin for XForm
impl UnsafeUnpin for XForm
impl UnwindSafe for XForm
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