pub struct TransWarpMagnifier {
pub xc: f64,
pub yc: f64,
pub magn: f64,
pub radius: f64,
}Expand description
Warp magnifier transformation — magnifies a circular zone.
Inside the radius, coordinates are scaled by the magnification factor. Outside, coordinates transition smoothly to unmagnified space.
Fields§
§xc: f64§yc: f64§magn: f64§radius: f64Implementations§
Trait Implementations§
Source§impl Transformer for TransWarpMagnifier
impl Transformer for TransWarpMagnifier
Auto Trait Implementations§
impl Freeze for TransWarpMagnifier
impl RefUnwindSafe for TransWarpMagnifier
impl Send for TransWarpMagnifier
impl Sync for TransWarpMagnifier
impl Unpin for TransWarpMagnifier
impl UnwindSafe for TransWarpMagnifier
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