Struct ash::vk::PipelineCacheCreateInfoBuilder
source · pub struct PipelineCacheCreateInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PipelineCacheCreateInfoBuilder<'a>
impl<'a> PipelineCacheCreateInfoBuilder<'a>
pub fn flags(self, flags: PipelineCacheCreateFlags) -> Self
pub fn initial_data(self, initial_data: &'a [u8]) -> Self
sourcepub fn build(self) -> PipelineCacheCreateInfo
pub fn build(self) -> PipelineCacheCreateInfo
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 PipelineCacheCreateInfoBuilder<'a>
impl<'a> Deref for PipelineCacheCreateInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PipelineCacheCreateInfoBuilder<'a>
impl<'a> RefUnwindSafe for PipelineCacheCreateInfoBuilder<'a>
impl<'a> !Send for PipelineCacheCreateInfoBuilder<'a>
impl<'a> !Sync for PipelineCacheCreateInfoBuilder<'a>
impl<'a> Unpin for PipelineCacheCreateInfoBuilder<'a>
impl<'a> UnwindSafe for PipelineCacheCreateInfoBuilder<'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