#[repr(C)]pub struct PipelineViewportStateCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineViewportStateCreateFlags,
pub viewport_count: u32,
pub p_viewports: *const Viewport,
pub scissor_count: u32,
pub p_scissors: *const Rect2D,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: PipelineViewportStateCreateFlags
§viewport_count: u32
§p_viewports: *const Viewport
§scissor_count: u32
§p_scissors: *const Rect2D
Implementations§
Source§impl PipelineViewportStateCreateInfo
impl PipelineViewportStateCreateInfo
pub fn builder<'a>() -> PipelineViewportStateCreateInfoBuilder<'a>
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 TaggedStructure for PipelineViewportStateCreateInfo
impl TaggedStructure for PipelineViewportStateCreateInfo
const STRUCTURE_TYPE: StructureType = StructureType::PIPELINE_VIEWPORT_STATE_CREATE_INFO
impl Copy 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
)