macro_rules! impl_device_context_deref {
(unsafe { $device:ident }) => { ... };
}Expand description
Implement core::ops::Deref traits for allowed DeviceContext conversions of a (bus
specific) device.
§Safety
The type given as $device must be a transparent wrapper of a type that doesn’t depend on the
generic argument of $device.