§ 1231. Traffic laws apply to persons riding bicycles or skating or gliding on in-line skates. Every person riding a bicycle or skating or gliding on in-line skates upon a roadway shall be granted all of the rights and shall be subject to all of the duties applicable to the driver of a vehicle by this title, except as to special regulations in this article and except as to those provisions of this title which by their nature can have no application.