#[repr(transparent)]pub struct PipelineCacheHeaderVersionOneBuilder { /* private fields */ }
Expand description
A builder for a PipelineCacheHeaderVersionOne
.
Implementations§
source§impl PipelineCacheHeaderVersionOneBuilder
impl PipelineCacheHeaderVersionOneBuilder
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: impl Into<ByteArray<UUID_SIZE>> ) -> Self
pub fn build(self) -> PipelineCacheHeaderVersionOne
Trait Implementations§
source§impl Cast for PipelineCacheHeaderVersionOneBuilder
impl Cast for PipelineCacheHeaderVersionOneBuilder
§type Target = PipelineCacheHeaderVersionOne
type Target = PipelineCacheHeaderVersionOne
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PipelineCacheHeaderVersionOneBuilder
impl Clone for PipelineCacheHeaderVersionOneBuilder
source§fn clone(&self) -> PipelineCacheHeaderVersionOneBuilder
fn clone(&self) -> PipelineCacheHeaderVersionOneBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PipelineCacheHeaderVersionOneBuilder
impl Default for PipelineCacheHeaderVersionOneBuilder
source§fn default() -> PipelineCacheHeaderVersionOneBuilder
fn default() -> PipelineCacheHeaderVersionOneBuilder
Returns the “default value” for a type. Read more
impl Copy for PipelineCacheHeaderVersionOneBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PipelineCacheHeaderVersionOneBuilder
impl Send for PipelineCacheHeaderVersionOneBuilder
impl Sync for PipelineCacheHeaderVersionOneBuilder
impl Unpin for PipelineCacheHeaderVersionOneBuilder
impl UnwindSafe for PipelineCacheHeaderVersionOneBuilder
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