#[repr(C)]pub struct VkPipelineShaderStageCreateInfo {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub flags: VkPipelineShaderStageCreateFlags,
pub stage: VkShaderStageFlagBits,
pub module: Option<VkShaderModule>,
pub pName: *const c_char,
pub pSpecializationInfo: *const VkSpecializationInfo,
}Fields§
§sType: VkStructureType§pNext: *const c_void§flags: VkPipelineShaderStageCreateFlags§stage: VkShaderStageFlagBits§module: Option<VkShaderModule>§pName: *const c_char§pSpecializationInfo: *const VkSpecializationInfoTrait Implementations§
Source§impl Clone for VkPipelineShaderStageCreateInfo
impl Clone for VkPipelineShaderStageCreateInfo
Source§fn clone(&self) -> VkPipelineShaderStageCreateInfo
fn clone(&self) -> VkPipelineShaderStageCreateInfo
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 TypedVulkanStructure for VkPipelineShaderStageCreateInfo
impl TypedVulkanStructure for VkPipelineShaderStageCreateInfo
Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_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 VkPipelineShaderStageCreateInfo
impl VulkanStructure for VkPipelineShaderStageCreateInfo
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 VkPipelineShaderStageCreateInfo
impl RefUnwindSafe for VkPipelineShaderStageCreateInfo
impl !Send for VkPipelineShaderStageCreateInfo
impl !Sync for VkPipelineShaderStageCreateInfo
impl Unpin for VkPipelineShaderStageCreateInfo
impl UnsafeUnpin for VkPipelineShaderStageCreateInfo
impl UnwindSafe for VkPipelineShaderStageCreateInfo
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