pub struct DebugUtilsLabelEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> DebugUtilsLabelEXTBuilder<'a>
impl<'a> DebugUtilsLabelEXTBuilder<'a>
pub fn label_name(self, label_name: &'a CStr) -> Self
pub fn color(self, color: [f32; 4]) -> Self
Sourcepub fn build(self) -> DebugUtilsLabelEXT
pub fn build(self) -> DebugUtilsLabelEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for DebugUtilsLabelEXTBuilder<'a>
impl<'a> Deref for DebugUtilsLabelEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DebugUtilsLabelEXTBuilder<'a>
impl<'a> RefUnwindSafe for DebugUtilsLabelEXTBuilder<'a>
impl<'a> !Send for DebugUtilsLabelEXTBuilder<'a>
impl<'a> !Sync for DebugUtilsLabelEXTBuilder<'a>
impl<'a> Unpin for DebugUtilsLabelEXTBuilder<'a>
impl<'a> UnwindSafe for DebugUtilsLabelEXTBuilder<'a>
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