Struct ash::vk::PipelineViewportSwizzleStateCreateInfoNV
source · #[repr(C)]pub struct PipelineViewportSwizzleStateCreateInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineViewportSwizzleStateCreateFlagsNV,
pub viewport_count: u32,
pub p_viewport_swizzles: *const ViewportSwizzleNV,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: PipelineViewportSwizzleStateCreateFlagsNV
§viewport_count: u32
§p_viewport_swizzles: *const ViewportSwizzleNV
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineViewportSwizzleStateCreateInfoNV<'a>
impl<'a> PipelineViewportSwizzleStateCreateInfoNV<'a>
pub fn flags(self, flags: PipelineViewportSwizzleStateCreateFlagsNV) -> Self
pub fn viewport_swizzles( self, viewport_swizzles: &'a [ViewportSwizzleNV], ) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineViewportSwizzleStateCreateInfoNV<'a>
impl<'a> Clone for PipelineViewportSwizzleStateCreateInfoNV<'a>
source§fn clone(&self) -> PipelineViewportSwizzleStateCreateInfoNV<'a>
fn clone(&self) -> PipelineViewportSwizzleStateCreateInfoNV<'a>
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<'a> Debug for PipelineViewportSwizzleStateCreateInfoNV<'a>
impl<'a> Debug for PipelineViewportSwizzleStateCreateInfoNV<'a>
source§impl Default for PipelineViewportSwizzleStateCreateInfoNV<'_>
impl Default for PipelineViewportSwizzleStateCreateInfoNV<'_>
source§impl<'a> TaggedStructure for PipelineViewportSwizzleStateCreateInfoNV<'a>
impl<'a> TaggedStructure for PipelineViewportSwizzleStateCreateInfoNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV
impl<'a> Copy for PipelineViewportSwizzleStateCreateInfoNV<'a>
impl ExtendsPipelineViewportStateCreateInfo for PipelineViewportSwizzleStateCreateInfoNV<'_>
impl Send for PipelineViewportSwizzleStateCreateInfoNV<'_>
impl Sync for PipelineViewportSwizzleStateCreateInfoNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineViewportSwizzleStateCreateInfoNV<'a>
impl<'a> RefUnwindSafe for PipelineViewportSwizzleStateCreateInfoNV<'a>
impl<'a> Unpin for PipelineViewportSwizzleStateCreateInfoNV<'a>
impl<'a> UnwindSafe for PipelineViewportSwizzleStateCreateInfoNV<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)