#[repr(C)]pub struct PipelineViewportStateCreateInfo {
pub s_type: StructureType,
pub next: *const c_void,
pub flags: PipelineViewportStateCreateFlags,
pub viewport_count: u32,
pub viewports: *const Viewport,
pub scissor_count: u32,
pub scissors: *const Rect2D,
}
Expand description
Fields§
§s_type: StructureType
§next: *const c_void
§flags: PipelineViewportStateCreateFlags
§viewport_count: u32
§viewports: *const Viewport
§scissor_count: u32
§scissors: *const Rect2D
Trait Implementations§
source§impl Clone for PipelineViewportStateCreateInfo
impl Clone for PipelineViewportStateCreateInfo
source§fn clone(&self) -> PipelineViewportStateCreateInfo
fn clone(&self) -> PipelineViewportStateCreateInfo
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 PartialEq for PipelineViewportStateCreateInfo
impl PartialEq for PipelineViewportStateCreateInfo
source§fn eq(&self, other: &PipelineViewportStateCreateInfo) -> bool
fn eq(&self, other: &PipelineViewportStateCreateInfo) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PipelineViewportStateCreateInfo
impl Eq for PipelineViewportStateCreateInfo
impl StructuralPartialEq for PipelineViewportStateCreateInfo
Auto Trait Implementations§
impl Freeze for PipelineViewportStateCreateInfo
impl RefUnwindSafe for PipelineViewportStateCreateInfo
impl !Send for PipelineViewportStateCreateInfo
impl !Sync for PipelineViewportStateCreateInfo
impl Unpin for PipelineViewportStateCreateInfo
impl UnwindSafe for PipelineViewportStateCreateInfo
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
)