#[derive(RawWrapper)] { // Attributes available to this derive: #[raw] }
Implement RawWrapper trait. #[raw] attribute must be added before field with wrapped raw value.
#[raw]
#[derive(RawWrapper, Debug)] #[repr(transparent)] pub struct MainLoopRef { #[raw] raw: pw_sys::pw_main_loop, }