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