Implements pushing of rust functions and closures.