pub struct PipelineExecutableStatisticKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PipelineExecutableStatisticKHRBuilder<'a>
impl<'a> PipelineExecutableStatisticKHRBuilder<'a>
pub fn name(self, name: [c_char; 256]) -> Self
pub fn description(self, description: [c_char; 256]) -> Self
pub fn format(self, format: PipelineExecutableStatisticFormatKHR) -> Self
pub fn value(self, value: PipelineExecutableStatisticValueKHR) -> Self
Sourcepub fn build(self) -> PipelineExecutableStatisticKHR
pub fn build(self) -> PipelineExecutableStatisticKHR
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 PipelineExecutableStatisticKHRBuilder<'a>
impl<'a> Deref for PipelineExecutableStatisticKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PipelineExecutableStatisticKHRBuilder<'a>
impl<'a> RefUnwindSafe for PipelineExecutableStatisticKHRBuilder<'a>
impl<'a> !Send for PipelineExecutableStatisticKHRBuilder<'a>
impl<'a> !Sync for PipelineExecutableStatisticKHRBuilder<'a>
impl<'a> Unpin for PipelineExecutableStatisticKHRBuilder<'a>
impl<'a> UnwindSafe for PipelineExecutableStatisticKHRBuilder<'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