Struct ash::vk::PipelineCacheCreateInfoBuilder
source · [−]#[repr(transparent)]pub struct PipelineCacheCreateInfoBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PipelineCacheCreateInfoBuilder<'a>
impl<'a> Deref for PipelineCacheCreateInfoBuilder<'a>
type Target = PipelineCacheCreateInfo
type Target = PipelineCacheCreateInfo
The resulting type after dereferencing.
Auto Trait Implementations
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
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