A woman has been taken to hospital with what is being described as "serious head injuries" after a collision with a car in Dublin.