Function path_return_type

Source
fn path_return_type(path: &Path) -> Option<&Ty>
Expand description

Returns the trailing return type in the given path, if it has one.

::std::ops::FnOnce(&str) -> fn() -> *const c_void
                            ^^^^^^^^^^^^^^^^^^^^^