#[repr(transparent)]pub struct PipelineShaderStageCreateInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for a PipelineShaderStageCreateInfo
.
Implementations§
source§impl<'b> PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> PipelineShaderStageCreateInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsPipelineShaderStageCreateInfo,
pub fn flags(self, flags: PipelineShaderStageCreateFlags) -> Self
pub fn stage(self, stage: ShaderStageFlags) -> Self
pub fn module(self, module: ShaderModule) -> Self
pub fn name(self, name: &'b [u8]) -> Self
pub fn specialization_info( self, specialization_info: &'b impl Cast<Target = SpecializationInfo> ) -> Self
pub fn build(self) -> PipelineShaderStageCreateInfo
Trait Implementations§
source§impl<'b> Cast for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> Cast for PipelineShaderStageCreateInfoBuilder<'b>
§type Target = PipelineShaderStageCreateInfo
type Target = PipelineShaderStageCreateInfo
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> Clone for PipelineShaderStageCreateInfoBuilder<'b>
source§fn clone(&self) -> PipelineShaderStageCreateInfoBuilder<'b>
fn clone(&self) -> PipelineShaderStageCreateInfoBuilder<'b>
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<'b> Debug for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> Debug for PipelineShaderStageCreateInfoBuilder<'b>
source§impl<'b> Default for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> Default for PipelineShaderStageCreateInfoBuilder<'b>
source§fn default() -> PipelineShaderStageCreateInfoBuilder<'b>
fn default() -> PipelineShaderStageCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> Deref for PipelineShaderStageCreateInfoBuilder<'b>
source§impl<'b> DerefMut for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> DerefMut for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> Copy for PipelineShaderStageCreateInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> !Send for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> !Sync for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> Unpin for PipelineShaderStageCreateInfoBuilder<'b>
impl<'b> UnwindSafe for PipelineShaderStageCreateInfoBuilder<'b>
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