In a criminal action defendant is entitled:
- 1. To have a speedy public trial by an impartial jury of the county in which the offense is alleged to have been committed.
- 2. To have counsel.
- 3. To produce witnesses on his behalf, and to be confronted with the witnesses against him in the presence of the court, except that the testimony or deposition of a witness may be received in evidence at the trial as by law prescribed.