pub struct DebugReportCallbackObject<Instance: Instance + InstanceExtensions>(/* private fields */);
Available on crate feature
VK_EXT_debug_report
only.Expand description
Opaque object to a debug report callback object
Implementations§
Source§impl<Instance: Instance + InstanceExtensions> DebugReportCallbackObject<Instance>
impl<Instance: Instance + InstanceExtensions> DebugReportCallbackObject<Instance>
Sourcepub fn new(
instance: Instance,
info: &DebugReportCallbackCreateInfo,
) -> Result<Self>
Available on crate feature Implements
only.
pub fn new( instance: Instance, info: &DebugReportCallbackCreateInfo, ) -> Result<Self>
Implements
only.Register a debug report callback
§Failures
On failure, this command returns
VK_ERROR_OUT_OF_HOST_MEMORY
Source§impl<Instance: Instance + InstanceExtensions + Clone> DebugReportCallbackObject<&Instance>
impl<Instance: Instance + InstanceExtensions + Clone> DebugReportCallbackObject<&Instance>
Sourcepub fn clone_parent(self) -> DebugReportCallbackObject<Instance>
pub fn clone_parent(self) -> DebugReportCallbackObject<Instance>
Owning parent object by cloning it.
Trait Implementations§
Source§impl<Instance: Instance + InstanceExtensions> Drop for DebugReportCallbackObject<Instance>
Available on crate feature Implements
only.
impl<Instance: Instance + InstanceExtensions> Drop for DebugReportCallbackObject<Instance>
Available on crate feature
Implements
only.Source§impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugReportCallbackObject<Instance>
impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugReportCallbackObject<Instance>
type ConcreteInstance = Instance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<Instance: Instance + InstanceExtensions> VkHandle for DebugReportCallbackObject<Instance>
impl<Instance: Instance + InstanceExtensions> VkHandle for DebugReportCallbackObject<Instance>
type Handle = VkDebugReportCallbackEXT
Source§fn native_ptr(&self) -> Self::Handle
fn native_ptr(&self) -> Self::Handle
Retrieve an underlying handle
fn as_transparent_ref(&self) -> VkHandleRef<'_, Self::Handle>
Source§impl<Instance: Instance + InstanceExtensions> VkHandleMut for DebugReportCallbackObject<Instance>
impl<Instance: Instance + InstanceExtensions> VkHandleMut for DebugReportCallbackObject<Instance>
Source§fn native_ptr_mut(&mut self) -> Self::Handle
fn native_ptr_mut(&mut self) -> Self::Handle
Retrieve an underlying mutable handle
fn as_transparent_ref_mut(&mut self) -> VkHandleRefMut<'_, Self::Handle>
Source§impl<Instance: Instance + InstanceExtensions> VkObject for DebugReportCallbackObject<Instance>
impl<Instance: Instance + InstanceExtensions> VkObject for DebugReportCallbackObject<Instance>
const TYPE: VkObjectType = 1_000_011_000i32
impl<Instance: Instance + InstanceExtensions> DebugReportCallback for DebugReportCallbackObject<Instance>
impl<Instance: Instance + InstanceExtensions + Send> Send for DebugReportCallbackObject<Instance>
impl<Instance: Instance + InstanceExtensions + Sync> Sync for DebugReportCallbackObject<Instance>
Auto Trait Implementations§
impl<Instance> Freeze for DebugReportCallbackObject<Instance>where
Instance: Freeze,
impl<Instance> RefUnwindSafe for DebugReportCallbackObject<Instance>where
Instance: RefUnwindSafe,
impl<Instance> Unpin for DebugReportCallbackObject<Instance>where
Instance: Unpin,
impl<Instance> UnwindSafe for DebugReportCallbackObject<Instance>where
Instance: UnwindSafe,
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