Struct ash::vk::PipelineLayoutCreateInfoBuilder
source · [−]#[repr(transparent)]pub struct PipelineLayoutCreateInfoBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> PipelineLayoutCreateInfoBuilder<'a>
impl<'a> PipelineLayoutCreateInfoBuilder<'a>
pub fn flags(self, flags: PipelineLayoutCreateFlags) -> Self
pub fn set_layouts(self, set_layouts: &'a [DescriptorSetLayout]) -> Self
pub fn push_constant_ranges(
self,
push_constant_ranges: &'a [PushConstantRange]
) -> Self
sourcepub fn build(self) -> PipelineLayoutCreateInfo
pub fn build(self) -> PipelineLayoutCreateInfo
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 PipelineLayoutCreateInfoBuilder<'a>
impl<'a> Deref for PipelineLayoutCreateInfoBuilder<'a>
type Target = PipelineLayoutCreateInfo
type Target = PipelineLayoutCreateInfo
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> !Send for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> !Sync for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> Unpin for PipelineLayoutCreateInfoBuilder<'a>
impl<'a> UnwindSafe for PipelineLayoutCreateInfoBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more