pub struct DebugUtilsMessengerObject<Instance: Instance + InstanceExtensions>(/* private fields */);
Available on crate feature
VK_EXT_debug_utils
only.Implementations§
Source§impl<Instance: Instance + InstanceExtensions> DebugUtilsMessengerObject<Instance>
impl<Instance: Instance + InstanceExtensions> DebugUtilsMessengerObject<Instance>
Sourcepub fn new(
instance: Instance,
info: &DebugUtilsMessengerCreateInfo,
) -> Result<Self>
Available on crate feature Implements
only.
pub fn new( instance: Instance, info: &DebugUtilsMessengerCreateInfo, ) -> Result<Self>
Implements
only.Sourcepub const unsafe fn manage(
handle: VkDebugUtilsMessengerEXT,
parent: Instance,
) -> Self
pub const unsafe fn manage( handle: VkDebugUtilsMessengerEXT, parent: Instance, ) -> Self
Constructs from raw values
§Safety
the resource must be created from the device and not freed anywhere
Sourcepub const fn unmanage(self) -> (VkDebugUtilsMessengerEXT, Instance)
pub const fn unmanage(self) -> (VkDebugUtilsMessengerEXT, Instance)
Purges the construct (Drop will not be called for this resource)
Source§impl<Instance: Instance + InstanceExtensions + Clone> DebugUtilsMessengerObject<&Instance>
impl<Instance: Instance + InstanceExtensions + Clone> DebugUtilsMessengerObject<&Instance>
Sourcepub fn clone_parent(self) -> DebugUtilsMessengerObject<Instance>
pub fn clone_parent(self) -> DebugUtilsMessengerObject<Instance>
Owning parent object by cloning it.
Trait Implementations§
Source§impl<Instance: Instance + InstanceExtensions> Drop for DebugUtilsMessengerObject<Instance>
Available on crate feature Implements
only.
impl<Instance: Instance + InstanceExtensions> Drop for DebugUtilsMessengerObject<Instance>
Available on crate feature
Implements
only.Source§impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugUtilsMessengerObject<Instance>
impl<Instance: Instance + InstanceExtensions> InstanceChild for DebugUtilsMessengerObject<Instance>
type ConcreteInstance = Instance
fn instance(&self) -> &Self::ConcreteInstance
Source§impl<Instance: Instance + InstanceExtensions> VkHandle for DebugUtilsMessengerObject<Instance>
impl<Instance: Instance + InstanceExtensions> VkHandle for DebugUtilsMessengerObject<Instance>
type Handle = VkDebugUtilsMessengerEXT
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 DebugUtilsMessengerObject<Instance>
impl<Instance: Instance + InstanceExtensions> VkHandleMut for DebugUtilsMessengerObject<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 DebugUtilsMessengerObject<Instance>
impl<Instance: Instance + InstanceExtensions> VkObject for DebugUtilsMessengerObject<Instance>
const TYPE: VkObjectType = 1_000_128_000i32
impl<Instance: Instance + InstanceExtensions> DebugUtilsMessenger for DebugUtilsMessengerObject<Instance>
impl<Instance: Instance + InstanceExtensions + Send> Send for DebugUtilsMessengerObject<Instance>
impl<Instance: Instance + InstanceExtensions + Sync> Sync for DebugUtilsMessengerObject<Instance>
Auto Trait Implementations§
impl<Instance> Freeze for DebugUtilsMessengerObject<Instance>where
Instance: Freeze,
impl<Instance> RefUnwindSafe for DebugUtilsMessengerObject<Instance>where
Instance: RefUnwindSafe,
impl<Instance> Unpin for DebugUtilsMessengerObject<Instance>where
Instance: Unpin,
impl<Instance> UnwindSafe for DebugUtilsMessengerObject<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