#[repr(C)]pub struct FramebufferAttachmentImageInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: ImageCreateFlags,
pub usage: ImageUsageFlags,
pub width: u32,
pub height: u32,
pub layerCount: u32,
pub viewFormatCount: u32,
pub pViewFormats: *const Format,
}Fields§
§sType: StructureType§pNext: *const c_void§flags: ImageCreateFlags§usage: ImageUsageFlags§width: u32§height: u32§layerCount: u32§viewFormatCount: u32§pViewFormats: *const FormatImplementations§
Source§impl FramebufferAttachmentImageInfo
impl FramebufferAttachmentImageInfo
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn flags(self, flags: ImageCreateFlags) -> Self
pub fn usage(self, usage: ImageUsageFlags) -> Self
pub fn width(self, width: u32) -> Self
pub fn height(self, height: u32) -> Self
pub fn layerCount(self, layerCount: u32) -> Self
pub fn viewFormatCount(self, viewFormatCount: u32) -> Self
pub fn pViewFormats(self, pViewFormats: *const Format) -> Self
Trait Implementations§
Source§impl Clone for FramebufferAttachmentImageInfo
impl Clone for FramebufferAttachmentImageInfo
Source§fn clone(&self) -> FramebufferAttachmentImageInfo
fn clone(&self) -> FramebufferAttachmentImageInfo
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 moreSource§impl Default for FramebufferAttachmentImageInfo
impl Default for FramebufferAttachmentImageInfo
Source§fn default() -> FramebufferAttachmentImageInfo
fn default() -> FramebufferAttachmentImageInfo
Returns the “default value” for a type. Read more
impl Copy for FramebufferAttachmentImageInfo
Auto Trait Implementations§
impl Freeze for FramebufferAttachmentImageInfo
impl RefUnwindSafe for FramebufferAttachmentImageInfo
impl !Send for FramebufferAttachmentImageInfo
impl !Sync for FramebufferAttachmentImageInfo
impl Unpin for FramebufferAttachmentImageInfo
impl UnwindSafe for FramebufferAttachmentImageInfo
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