FAQ If the "null pointer passed to Rust" error occurs, it might help to mark the rust method as &self instead of a self. Lol.