None of the above (neither bifocals,neither regular glasses, neither sunglasses) provides the same protection as safety glasses.
Safety glasses are special type of functional protective eyewear that usually enclose or protect the area surrounding the eye. They part of the Personal Protective Equipment (PPE), used to protect the worker to from injuries.