#[repr(transparent)]pub struct DescriptorUpdateTemplateCreateInfoBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> DescriptorUpdateTemplateCreateInfoBuilder<'a>
impl<'a> DescriptorUpdateTemplateCreateInfoBuilder<'a>
pub fn flags(
self,
flags: DescriptorUpdateTemplateCreateFlags
) -> DescriptorUpdateTemplateCreateInfoBuilder<'a>
pub fn descriptor_update_entries(
self,
descriptor_update_entries: &'a [DescriptorUpdateTemplateEntry]
) -> DescriptorUpdateTemplateCreateInfoBuilder<'a>
pub fn template_type(
self,
template_type: DescriptorUpdateTemplateType
) -> DescriptorUpdateTemplateCreateInfoBuilder<'a>
pub fn descriptor_set_layout(
self,
descriptor_set_layout: DescriptorSetLayout
) -> DescriptorUpdateTemplateCreateInfoBuilder<'a>
pub fn pipeline_bind_point(
self,
pipeline_bind_point: PipelineBindPoint
) -> DescriptorUpdateTemplateCreateInfoBuilder<'a>
pub fn pipeline_layout(
self,
pipeline_layout: PipelineLayout
) -> DescriptorUpdateTemplateCreateInfoBuilder<'a>
pub fn set(self, set: u32) -> DescriptorUpdateTemplateCreateInfoBuilder<'a>
sourcepub fn build(self) -> DescriptorUpdateTemplateCreateInfo
pub fn build(self) -> DescriptorUpdateTemplateCreateInfo
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 DescriptorUpdateTemplateCreateInfoBuilder<'a>
impl<'a> Deref for DescriptorUpdateTemplateCreateInfoBuilder<'a>
type Target = DescriptorUpdateTemplateCreateInfo
type Target = DescriptorUpdateTemplateCreateInfo
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<DescriptorUpdateTemplateCreateInfoBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<DescriptorUpdateTemplateCreateInfoBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for DescriptorUpdateTemplateCreateInfoBuilder<'a>
impl<'a> DerefMut for DescriptorUpdateTemplateCreateInfoBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <DescriptorUpdateTemplateCreateInfoBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <DescriptorUpdateTemplateCreateInfoBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DescriptorUpdateTemplateCreateInfoBuilder<'a>
impl<'a> !Send for DescriptorUpdateTemplateCreateInfoBuilder<'a>
impl<'a> !Sync for DescriptorUpdateTemplateCreateInfoBuilder<'a>
impl<'a> Unpin for DescriptorUpdateTemplateCreateInfoBuilder<'a>
impl<'a> UnwindSafe for DescriptorUpdateTemplateCreateInfoBuilder<'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