pub struct PipelineCacheHeaderVersionOneBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PipelineCacheHeaderVersionOneBuilder<'a>
impl<'a> PipelineCacheHeaderVersionOneBuilder<'a>
pub fn header_size(self, header_size: u32) -> Self
pub fn header_version(self, header_version: PipelineCacheHeaderVersion) -> Self
pub fn vendor_id(self, vendor_id: u32) -> Self
pub fn device_id(self, device_id: u32) -> Self
pub fn pipeline_cache_uuid(self, pipeline_cache_uuid: [u8; 16]) -> Self
Sourcepub fn build(self) -> PipelineCacheHeaderVersionOne
pub fn build(self) -> PipelineCacheHeaderVersionOne
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 PipelineCacheHeaderVersionOneBuilder<'a>
impl<'a> Deref for PipelineCacheHeaderVersionOneBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PipelineCacheHeaderVersionOneBuilder<'a>
impl<'a> RefUnwindSafe for PipelineCacheHeaderVersionOneBuilder<'a>
impl<'a> Send for PipelineCacheHeaderVersionOneBuilder<'a>
impl<'a> Sync for PipelineCacheHeaderVersionOneBuilder<'a>
impl<'a> Unpin for PipelineCacheHeaderVersionOneBuilder<'a>
impl<'a> UnwindSafe for PipelineCacheHeaderVersionOneBuilder<'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