Struct vulkano::instance::debug::DebugUtilsMessenger
source · pub struct DebugUtilsMessenger { /* private fields */ }
Expand description
Registration of a callback called by validation layers.
The callback can be called as long as this object is alive.
Implementations§
source§impl DebugUtilsMessenger
impl DebugUtilsMessenger
sourcepub fn new(
instance: Arc<Instance>,
create_info: DebugUtilsMessengerCreateInfo
) -> Result<Self, Validated<VulkanError>>
pub fn new( instance: Arc<Instance>, create_info: DebugUtilsMessengerCreateInfo ) -> Result<Self, Validated<VulkanError>>
Initializes a debug callback.
Trait Implementations§
source§impl Debug for DebugUtilsMessenger
impl Debug for DebugUtilsMessenger
Auto Trait Implementations§
impl RefUnwindSafe for DebugUtilsMessenger
impl Send for DebugUtilsMessenger
impl Sync for DebugUtilsMessenger
impl Unpin for DebugUtilsMessenger
impl UnwindSafe for DebugUtilsMessenger
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