#[repr(C)]pub struct VkAttachmentDescription2 {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub flags: VkAttachmentDescriptionFlags,
pub format: VkFormat,
pub samples: VkSampleCountFlagBits,
pub loadOp: VkAttachmentLoadOp,
pub storeOp: VkAttachmentStoreOp,
pub stencilLoadOp: VkAttachmentLoadOp,
pub stencilStoreOp: VkAttachmentStoreOp,
pub initialLayout: VkImageLayout,
pub finalLayout: VkImageLayout,
}
Fields§
§sType: VkStructureType
§pNext: *const c_void
§flags: VkAttachmentDescriptionFlags
§format: VkFormat
§samples: VkSampleCountFlagBits
§loadOp: VkAttachmentLoadOp
§storeOp: VkAttachmentStoreOp
§stencilLoadOp: VkAttachmentLoadOp
§stencilStoreOp: VkAttachmentStoreOp
§initialLayout: VkImageLayout
§finalLayout: VkImageLayout
Trait Implementations§
Source§impl Clone for VkAttachmentDescription2
impl Clone for VkAttachmentDescription2
Source§fn clone(&self) -> VkAttachmentDescription2
fn clone(&self) -> VkAttachmentDescription2
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for VkAttachmentDescription2
impl Default for VkAttachmentDescription2
impl Copy for VkAttachmentDescription2
Auto Trait Implementations§
impl Freeze for VkAttachmentDescription2
impl RefUnwindSafe for VkAttachmentDescription2
impl !Send for VkAttachmentDescription2
impl !Sync for VkAttachmentDescription2
impl Unpin for VkAttachmentDescription2
impl UnwindSafe for VkAttachmentDescription2
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