Struct wgpu_hal::vulkan::DebugUtilsMessengerUserData
source · pub struct DebugUtilsMessengerUserData {
validation_layer_properties: Option<ValidationLayerProperties>,
has_obs_layer: bool,
}
Expand description
User data needed by instance::debug_utils_messenger_callback
.
When we create the vk::DebugUtilsMessengerEXT
, the pUserData
pointer refers to one of these values.
Fields§
§validation_layer_properties: Option<ValidationLayerProperties>
The properties related to the validation layer, if present
has_obs_layer: bool
If the OBS layer is present. OBS never increments the version of their layer, so there’s no reason to have the version.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DebugUtilsMessengerUserData
impl RefUnwindSafe for DebugUtilsMessengerUserData
impl Send for DebugUtilsMessengerUserData
impl Sync for DebugUtilsMessengerUserData
impl Unpin for DebugUtilsMessengerUserData
impl UnwindSafe for DebugUtilsMessengerUserData
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