pub struct DTrans {
pub angle_deg: f64,
pub mag: f64,
pub mirror: bool,
pub disp: Vec2,
}Expand description
Floating-point complex transform. Use only for non-orthogonal rotation or magnification. Conversion back to integer DBU is explicit and lossy.
Fields§
§angle_deg: f64§mag: f64§mirror: bool§disp: Vec2Implementations§
Trait Implementations§
impl Copy for DTrans
impl StructuralPartialEq for DTrans
Auto Trait Implementations§
impl Freeze for DTrans
impl RefUnwindSafe for DTrans
impl Send for DTrans
impl Sync for DTrans
impl Unpin for DTrans
impl UnsafeUnpin for DTrans
impl UnwindSafe for DTrans
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