pub struct InnerOp(pub fn(op: &Op, ctx: &dyn Context, operands: &mut dyn CoordinateSet) -> usize);
Expand description
Blueprint for the functions doing the actual transformation work.
InnerOp needs to be a newtype, rather than a type alias, since we must implement the Debug-trait for InnerOp (to make auto derive of the Debug-trait work for any derived type).
Tuple Fields§
§0: fn(op: &Op, ctx: &dyn Context, operands: &mut dyn CoordinateSet) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InnerOp
impl RefUnwindSafe for InnerOp
impl Send for InnerOp
impl Sync for InnerOp
impl Unpin for InnerOp
impl UnwindSafe for InnerOp
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