#[repr(transparent)]pub struct DebugUtilsLabelEXTBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> DebugUtilsLabelEXTBuilder<'a>
impl<'a> DebugUtilsLabelEXTBuilder<'a>
pub fn label_name(self, label_name: &'a CStr) -> DebugUtilsLabelEXTBuilder<'a>
pub fn color(self, color: [f32; 4]) -> DebugUtilsLabelEXTBuilder<'a>
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
sourceimpl<'a> Deref for DebugUtilsLabelEXTBuilder<'a>
impl<'a> Deref for DebugUtilsLabelEXTBuilder<'a>
type Target = DebugUtilsLabelEXT
type Target = DebugUtilsLabelEXT
The resulting type after dereferencing.
sourcefn deref(&self) -> &<DebugUtilsLabelEXTBuilder<'a> as Deref>::Target
fn deref(&self) -> &<DebugUtilsLabelEXTBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for DebugUtilsLabelEXTBuilder<'a>
impl<'a> DerefMut for DebugUtilsLabelEXTBuilder<'a>
sourcefn deref_mut(&mut self) -> &mut <DebugUtilsLabelEXTBuilder<'a> as Deref>::Target
fn deref_mut(&mut self) -> &mut <DebugUtilsLabelEXTBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more