Struct ash::vk::PipelineCacheCreateInfo
source · #[repr(C)]pub struct PipelineCacheCreateInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineCacheCreateFlags,
pub initial_data_size: usize,
pub p_initial_data: *const c_void,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: PipelineCacheCreateFlags
§initial_data_size: usize
§p_initial_data: *const c_void
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineCacheCreateInfo<'a>
impl<'a> PipelineCacheCreateInfo<'a>
pub fn flags(self, flags: PipelineCacheCreateFlags) -> Self
pub fn initial_data(self, initial_data: &'a [u8]) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineCacheCreateInfo<'a>
impl<'a> Clone for PipelineCacheCreateInfo<'a>
source§fn clone(&self) -> PipelineCacheCreateInfo<'a>
fn clone(&self) -> PipelineCacheCreateInfo<'a>
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<'a> Debug for PipelineCacheCreateInfo<'a>
impl<'a> Debug for PipelineCacheCreateInfo<'a>
source§impl Default for PipelineCacheCreateInfo<'_>
impl Default for PipelineCacheCreateInfo<'_>
source§impl<'a> TaggedStructure for PipelineCacheCreateInfo<'a>
impl<'a> TaggedStructure for PipelineCacheCreateInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_CACHE_CREATE_INFO
impl<'a> Copy for PipelineCacheCreateInfo<'a>
impl Send for PipelineCacheCreateInfo<'_>
impl Sync for PipelineCacheCreateInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineCacheCreateInfo<'a>
impl<'a> RefUnwindSafe for PipelineCacheCreateInfo<'a>
impl<'a> Unpin for PipelineCacheCreateInfo<'a>
impl<'a> UnwindSafe for PipelineCacheCreateInfo<'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