pub enum BulbType {
Round,
Arrow,
ArrowLeft,
ArrowRight,
ArrowUp,
ArrowUpperLeft,
ArrowUpperRight,
UTurnLeft,
UTurnRight,
Walk,
DontWalk,
}Expand description
Defines the possible bulb types.
Variants§
Round
Arrow
Arrow with a custom orientation specified by Bulb::arrow_orientation_rad.
ArrowLeft
Predefined arrow pointing left.
ArrowRight
Predefined arrow pointing right.
ArrowUp
Predefined arrow pointing up (forward).
ArrowUpperLeft
Predefined arrow pointing upper-left.
ArrowUpperRight
Predefined arrow pointing upper-right.
UTurnLeft
U-turn to the left.
UTurnRight
U-turn to the right.
Walk
Pedestrian walk signal.
DontWalk
Pedestrian don’t walk signal.
Trait Implementations§
impl Copy for BulbType
impl Eq for BulbType
impl StructuralPartialEq for BulbType
Auto Trait Implementations§
impl Freeze for BulbType
impl RefUnwindSafe for BulbType
impl Send for BulbType
impl Sync for BulbType
impl Unpin for BulbType
impl UnsafeUnpin for BulbType
impl UnwindSafe for BulbType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more