pub struct UniqueBulbId { /* private fields */ }
Expand description
Uniquely identifies a bulb in the Inertial
space. This consists of the
concatenation of the bulb’s ID, the ID of the bulb group that contains the
bulb, and the the ID of the traffic light that contains the bulb group.
String representation of this ID is:
“traffic_light_id().string()
-bulb_group_id.string()
-bulb_id.string()
”
Implementations§
Source§impl UniqueBulbId
impl UniqueBulbId
Sourcepub fn traffic_light_id(&self) -> String
pub fn traffic_light_id(&self) -> String
Sourcepub fn bulb_group_id(&self) -> String
pub fn bulb_group_id(&self) -> String
Sourcepub fn string(&self) -> String
pub fn string(&self) -> String
Get the string representation of the UniqueBulbId.
§Return
The string representation of the UniqueBulbId.
Auto Trait Implementations§
impl Freeze for UniqueBulbId
impl RefUnwindSafe for UniqueBulbId
impl !Send for UniqueBulbId
impl !Sync for UniqueBulbId
impl Unpin for UniqueBulbId
impl UnwindSafe for UniqueBulbId
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