pub struct PipelineViewportStateCreateInfo<'d>(/* private fields */);
Expand description
Structure specifying parameters of a newly created pipeline viewport state
Implementations§
Source§impl<'d> PipelineViewportStateCreateInfo<'d>
impl<'d> PipelineViewportStateCreateInfo<'d>
pub const unsafe fn new_unchecked( viewports: &'d [VkViewport], scissors: &'d [VkRect2D], ) -> Self
pub fn new(viewports: &'d [VkViewport], scissors: &'d [VkRect2D]) -> Self
pub const fn new_array<const N: usize>( viewports: &'d [VkViewport; N], scissors: &'d [VkRect2D; N], ) -> Self
pub const fn new_dynamic(count: u32) -> Self
pub const fn new_dynamic_with_count() -> Self
pub const unsafe fn from_raw(raw: VkPipelineViewportStateCreateInfo) -> Self
pub const fn into_raw(self) -> VkPipelineViewportStateCreateInfo
Trait Implementations§
Source§impl<'d> Clone for PipelineViewportStateCreateInfo<'d>
impl<'d> Clone for PipelineViewportStateCreateInfo<'d>
Source§fn clone(&self) -> PipelineViewportStateCreateInfo<'d>
fn clone(&self) -> PipelineViewportStateCreateInfo<'d>
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> Freeze for PipelineViewportStateCreateInfo<'d>
impl<'d> RefUnwindSafe for PipelineViewportStateCreateInfo<'d>
impl<'d> !Send for PipelineViewportStateCreateInfo<'d>
impl<'d> !Sync for PipelineViewportStateCreateInfo<'d>
impl<'d> Unpin for PipelineViewportStateCreateInfo<'d>
impl<'d> UnwindSafe for PipelineViewportStateCreateInfo<'d>
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