Struct parametrics::core::Translate
source · pub struct Translate {
pub function: Rc<Box<dyn ParametricFunction2D>>,
pub by: Point,
}
Expand description
The translation by by
of a thing that implements ParametricFunction2D
Fields§
§function: Rc<Box<dyn ParametricFunction2D>>
§by: Point
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Translate
impl !Send for Translate
impl !Sync for Translate
impl Unpin for Translate
impl !UnwindSafe for Translate
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