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