Which parent functions have inverses which are also functions?

If any vertical line intersects a graph in at most one point, then that graph is the graph of a function.