Struct DebugReportCallbackObject

Source
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>

Source

pub fn new( instance: Instance, info: &DebugReportCallbackCreateInfo, ) -> Result<Self>

Available on crate feature 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>

Source

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.
Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugReportCallbackObject<Instance>

Source§

impl<Instance: Instance + InstanceExtensions> VkHandle for DebugReportCallbackObject<Instance>

Source§

type Handle = VkDebugReportCallbackEXT

Source§

fn native_ptr(&self) -> Self::Handle

Retrieve an underlying handle
Source§

fn as_transparent_ref(&self) -> VkHandleRef<'_, Self::Handle>

Source§

impl<Instance: Instance + InstanceExtensions> VkHandleMut for DebugReportCallbackObject<Instance>

Source§

fn native_ptr_mut(&mut self) -> Self::Handle

Retrieve an underlying mutable handle
Source§

fn as_transparent_ref_mut(&mut self) -> VkHandleRefMut<'_, Self::Handle>

Source§

impl<Instance: Instance + InstanceExtensions> VkObject for DebugReportCallbackObject<Instance>

Source§

const TYPE: VkObjectType = 1_000_011_000i32

Source§

impl<Instance: Instance + InstanceExtensions> DebugReportCallback for DebugReportCallbackObject<Instance>

Source§

impl<Instance: Instance + InstanceExtensions + Send> Send for DebugReportCallbackObject<Instance>

Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> VkHandleExt for T
where T: VkHandle,

Source§

fn eq_handle(&self, other: &Self) -> bool
where Self::Handle: VkRawHandle,

Checks the equality between vulkan objects by their handle value.