Struct parametrics::core::Rotate
source · pub struct Rotate {
pub function: Rc<Box<dyn ParametricFunction2D>>,
pub centre: Point,
pub angle: T,
}
Expand description
The rotation around centre
by angle
(in “turns”) of a thing that implements ParametricFunction2D
Fields§
§function: Rc<Box<dyn ParametricFunction2D>>
§centre: Point
§angle: T
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Rotate
impl !Send for Rotate
impl !Sync for Rotate
impl Unpin for Rotate
impl !UnwindSafe for Rotate
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