struct DebugUtils {
extension: Instance,
messenger: DebugUtilsMessengerEXT,
callback_data: Box<DebugUtilsMessengerUserData>,
}Available on
vulkan only.Fields§
§extension: Instance§messenger: DebugUtilsMessengerEXT§callback_data: Box<DebugUtilsMessengerUserData>Owning pointer to the debug messenger callback user data.
InstanceShared::drop destroys the debug messenger before
dropping this, so the callback should never receive a dangling
user data pointer.
Auto Trait Implementations§
impl Freeze for DebugUtils
impl RefUnwindSafe for DebugUtils
impl Send for DebugUtils
impl Sync for DebugUtils
impl Unpin for DebugUtils
impl UnwindSafe for DebugUtils
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more