#[repr(C)]pub struct VkPipelineCacheCreateInfo {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub flags: VkPipelineCacheCreateFlags,
pub initialDataSize: usize,
pub pInitialData: *const c_void,
}Fields§
§sType: VkStructureType§pNext: *const c_void§flags: VkPipelineCacheCreateFlags§initialDataSize: usize§pInitialData: *const c_voidTrait Implementations§
Source§impl Clone for VkPipelineCacheCreateInfo
impl Clone for VkPipelineCacheCreateInfo
Source§fn clone(&self) -> VkPipelineCacheCreateInfo
fn clone(&self) -> VkPipelineCacheCreateInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkPipelineCacheCreateInfo
impl Debug for VkPipelineCacheCreateInfo
Source§impl TypedVulkanStructure for VkPipelineCacheCreateInfo
impl TypedVulkanStructure for VkPipelineCacheCreateInfo
Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkPipelineCacheCreateInfo
impl VulkanStructure for VkPipelineCacheCreateInfo
Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkPipelineCacheCreateInfo
impl RefUnwindSafe for VkPipelineCacheCreateInfo
impl !Send for VkPipelineCacheCreateInfo
impl !Sync for VkPipelineCacheCreateInfo
impl Unpin for VkPipelineCacheCreateInfo
impl UnsafeUnpin for VkPipelineCacheCreateInfo
impl UnwindSafe for VkPipelineCacheCreateInfo
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