#[repr(C)]pub struct ConstBulbStateRef<'a> {
pub bulb_state: &'a BulbState,
}
Expand description
Shared struct for BulbState
references.
This is needed because &f
can’t be used directly in the CxxVector collection.
Fields§
§bulb_state: &'a BulbState
Trait Implementations§
Source§impl<'a> ExternType for ConstBulbStateRef<'a>
impl<'a> ExternType for ConstBulbStateRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConstBulbStateRef<'a>
impl<'a> RefUnwindSafe for ConstBulbStateRef<'a>
impl<'a> Send for ConstBulbStateRef<'a>
impl<'a> Sync for ConstBulbStateRef<'a>
impl<'a> Unpin for ConstBulbStateRef<'a>
impl<'a> UnwindSafe for ConstBulbStateRef<'a>
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