pub struct PipelineShaderStage<'d, 's>(/* private fields */);
Implementations§
Source§impl<'d, 's> PipelineShaderStage<'d, 's>
impl<'d, 's> PipelineShaderStage<'d, 's>
pub fn new( stage: ShaderStage, shader: &'d (impl ShaderModule + ?Sized), entrypoint_name: &'d CStr, ) -> Self
pub const unsafe fn from_raw(raw: VkPipelineShaderStageCreateInfo) -> Self
pub const fn into_raw(self) -> VkPipelineShaderStageCreateInfo
pub fn with_next(self, next: &'d (impl TypedVulkanStructure + ?Sized)) -> Self
pub const fn with_specialization_info( self, info: &'s SpecializationInfo<'d>, ) -> Self
Trait Implementations§
Source§impl<'d, 's> Clone for PipelineShaderStage<'d, 's>
impl<'d, 's> Clone for PipelineShaderStage<'d, 's>
Source§fn clone(&self) -> PipelineShaderStage<'d, 's>
fn clone(&self) -> PipelineShaderStage<'d, 's>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<'d, 's> Freeze for PipelineShaderStage<'d, 's>
impl<'d, 's> !RefUnwindSafe for PipelineShaderStage<'d, 's>
impl<'d, 's> !Send for PipelineShaderStage<'d, 's>
impl<'d, 's> !Sync for PipelineShaderStage<'d, 's>
impl<'d, 's> Unpin for PipelineShaderStage<'d, 's>
impl<'d, 's> !UnwindSafe for PipelineShaderStage<'d, 's>
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