#[repr(C)]pub struct SubpassDescription2 {Show 13 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: SubpassDescriptionFlags,
pub pipeline_bind_point: PipelineBindPoint,
pub view_mask: u32,
pub input_attachment_count: u32,
pub p_input_attachments: *const AttachmentReference2,
pub color_attachment_count: u32,
pub p_color_attachments: *const AttachmentReference2,
pub p_resolve_attachments: *const AttachmentReference2,
pub p_depth_stencil_attachment: *const AttachmentReference2,
pub preserve_attachment_count: u32,
pub p_preserve_attachments: *const u32,
}Expand description
Fields
s_type: StructureTypep_next: *const c_voidflags: SubpassDescriptionFlagspipeline_bind_point: PipelineBindPointview_mask: u32input_attachment_count: u32p_input_attachments: *const AttachmentReference2color_attachment_count: u32p_color_attachments: *const AttachmentReference2p_resolve_attachments: *const AttachmentReference2p_depth_stencil_attachment: *const AttachmentReference2preserve_attachment_count: u32p_preserve_attachments: *const u32Implementations
sourceimpl SubpassDescription2
impl SubpassDescription2
pub fn builder<'a>() -> SubpassDescription2Builder<'a>
Trait Implementations
sourceimpl Clone for SubpassDescription2
impl Clone for SubpassDescription2
sourcefn clone(&self) -> SubpassDescription2
fn clone(&self) -> SubpassDescription2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SubpassDescription2
impl Debug for SubpassDescription2
sourceimpl Default for SubpassDescription2
impl Default for SubpassDescription2
sourcefn default() -> SubpassDescription2
fn default() -> SubpassDescription2
Returns the “default value” for a type. Read more
impl Copy for SubpassDescription2
Auto Trait Implementations
impl RefUnwindSafe for SubpassDescription2
impl !Send for SubpassDescription2
impl !Sync for SubpassDescription2
impl Unpin for SubpassDescription2
impl UnwindSafe for SubpassDescription2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more