#[repr(C)]pub struct PipelineViewportWScalingStateCreateInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub viewport_w_scaling_enable: Bool32,
pub viewport_count: u32,
pub p_viewport_w_scalings: *const ViewportWScalingNV,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§viewport_w_scaling_enable: Bool32
§viewport_count: u32
§p_viewport_w_scalings: *const ViewportWScalingNV
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PipelineViewportWScalingStateCreateInfoNV<'a>
impl<'a> PipelineViewportWScalingStateCreateInfoNV<'a>
pub fn viewport_w_scaling_enable(self, viewport_w_scaling_enable: bool) -> Self
pub fn viewport_w_scalings( self, viewport_w_scalings: &'a [ViewportWScalingNV], ) -> Self
Trait Implementations§
source§impl<'a> Clone for PipelineViewportWScalingStateCreateInfoNV<'a>
impl<'a> Clone for PipelineViewportWScalingStateCreateInfoNV<'a>
source§fn clone(&self) -> PipelineViewportWScalingStateCreateInfoNV<'a>
fn clone(&self) -> PipelineViewportWScalingStateCreateInfoNV<'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 PipelineViewportWScalingStateCreateInfoNV<'a>
impl<'a> Debug for PipelineViewportWScalingStateCreateInfoNV<'a>
source§impl Default for PipelineViewportWScalingStateCreateInfoNV<'_>
impl Default for PipelineViewportWScalingStateCreateInfoNV<'_>
source§impl<'a> TaggedStructure for PipelineViewportWScalingStateCreateInfoNV<'a>
impl<'a> TaggedStructure for PipelineViewportWScalingStateCreateInfoNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV
impl<'a> Copy for PipelineViewportWScalingStateCreateInfoNV<'a>
impl ExtendsPipelineViewportStateCreateInfo for PipelineViewportWScalingStateCreateInfoNV<'_>
impl Send for PipelineViewportWScalingStateCreateInfoNV<'_>
impl Sync for PipelineViewportWScalingStateCreateInfoNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineViewportWScalingStateCreateInfoNV<'a>
impl<'a> RefUnwindSafe for PipelineViewportWScalingStateCreateInfoNV<'a>
impl<'a> Unpin for PipelineViewportWScalingStateCreateInfoNV<'a>
impl<'a> UnwindSafe for PipelineViewportWScalingStateCreateInfoNV<'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
)