#[repr(C)]pub struct ConstTrafficLightPtr {
pub traffic_light: *const TrafficLight,
}
Expand description
Shared struct for TrafficLight
pointers.
This is needed because *const
can’t be used directly in the CxxVector collection.
Fields§
§traffic_light: *const TrafficLight
Trait Implementations§
Source§impl ExternType for ConstTrafficLightPtr
impl ExternType for ConstTrafficLightPtr
impl VectorElement for ConstTrafficLightPtr
Auto Trait Implementations§
impl Freeze for ConstTrafficLightPtr
impl RefUnwindSafe for ConstTrafficLightPtr
impl !Send for ConstTrafficLightPtr
impl !Sync for ConstTrafficLightPtr
impl Unpin for ConstTrafficLightPtr
impl UnwindSafe for ConstTrafficLightPtr
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