Struct vulkanalia::vk::ShaderCreateInfoEXTBuilder
source · #[repr(transparent)]pub struct ShaderCreateInfoEXTBuilder<'b> { /* private fields */ }
Expand description
A builder for a ShaderCreateInfoEXT
.
Implementations§
source§impl<'b> ShaderCreateInfoEXTBuilder<'b>
impl<'b> ShaderCreateInfoEXTBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere T: ExtendsShaderCreateInfoEXT,
pub fn flags(self, flags: ShaderCreateFlagsEXT) -> Self
pub fn stage(self, stage: ShaderStageFlags) -> Self
pub fn next_stage(self, next_stage: ShaderStageFlags) -> Self
pub fn code_type(self, code_type: ShaderCodeTypeEXT) -> Self
pub fn code(self, code: &'b [u8]) -> Self
pub fn name(self, name: &'b [u8]) -> Self
pub fn set_layout_count(self, set_layout_count: u32) -> Self
pub fn set_layouts(self, set_layouts: &'b [DescriptorSetLayout]) -> Self
pub fn push_constant_range_count(self, push_constant_range_count: u32) -> Self
pub fn push_constant_ranges( self, push_constant_ranges: &'b [impl Cast<Target = PushConstantRange>] ) -> Self
pub fn specialization_info( self, specialization_info: &'b impl Cast<Target = SpecializationInfo> ) -> Self
pub fn build(self) -> ShaderCreateInfoEXT
Trait Implementations§
source§impl<'b> Cast for ShaderCreateInfoEXTBuilder<'b>
impl<'b> Cast for ShaderCreateInfoEXTBuilder<'b>
§type Target = ShaderCreateInfoEXT
type Target = ShaderCreateInfoEXT
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for ShaderCreateInfoEXTBuilder<'b>
impl<'b> Clone for ShaderCreateInfoEXTBuilder<'b>
source§fn clone(&self) -> ShaderCreateInfoEXTBuilder<'b>
fn clone(&self) -> ShaderCreateInfoEXTBuilder<'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 ShaderCreateInfoEXTBuilder<'b>
impl<'b> Debug for ShaderCreateInfoEXTBuilder<'b>
source§impl<'b> Default for ShaderCreateInfoEXTBuilder<'b>
impl<'b> Default for ShaderCreateInfoEXTBuilder<'b>
source§fn default() -> ShaderCreateInfoEXTBuilder<'b>
fn default() -> ShaderCreateInfoEXTBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for ShaderCreateInfoEXTBuilder<'b>
impl<'b> Deref for ShaderCreateInfoEXTBuilder<'b>
source§impl<'b> DerefMut for ShaderCreateInfoEXTBuilder<'b>
impl<'b> DerefMut for ShaderCreateInfoEXTBuilder<'b>
impl<'b> Copy for ShaderCreateInfoEXTBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for ShaderCreateInfoEXTBuilder<'b>
impl<'b> !Send for ShaderCreateInfoEXTBuilder<'b>
impl<'b> !Sync for ShaderCreateInfoEXTBuilder<'b>
impl<'b> Unpin for ShaderCreateInfoEXTBuilder<'b>
impl<'b> UnwindSafe for ShaderCreateInfoEXTBuilder<'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