Struct ash::vk::FramebufferAttachmentImageInfo
source · #[repr(C)]pub struct FramebufferAttachmentImageInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: ImageCreateFlags,
pub usage: ImageUsageFlags,
pub width: u32,
pub height: u32,
pub layer_count: u32,
pub view_format_count: u32,
pub p_view_formats: *const Format,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: ImageCreateFlags
§usage: ImageUsageFlags
§width: u32
§height: u32
§layer_count: u32
§view_format_count: u32
§p_view_formats: *const Format
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> FramebufferAttachmentImageInfo<'a>
impl<'a> FramebufferAttachmentImageInfo<'a>
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 layer_count(self, layer_count: u32) -> Self
pub fn view_formats(self, view_formats: &'a [Format]) -> Self
Trait Implementations§
source§impl<'a> Clone for FramebufferAttachmentImageInfo<'a>
impl<'a> Clone for FramebufferAttachmentImageInfo<'a>
source§fn clone(&self) -> FramebufferAttachmentImageInfo<'a>
fn clone(&self) -> FramebufferAttachmentImageInfo<'a>
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<'a> Debug for FramebufferAttachmentImageInfo<'a>
impl<'a> Debug for FramebufferAttachmentImageInfo<'a>
source§impl Default for FramebufferAttachmentImageInfo<'_>
impl Default for FramebufferAttachmentImageInfo<'_>
source§impl<'a> TaggedStructure for FramebufferAttachmentImageInfo<'a>
impl<'a> TaggedStructure for FramebufferAttachmentImageInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::FRAMEBUFFER_ATTACHMENT_IMAGE_INFO
impl<'a> Copy for FramebufferAttachmentImageInfo<'a>
impl Send for FramebufferAttachmentImageInfo<'_>
impl Sync for FramebufferAttachmentImageInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for FramebufferAttachmentImageInfo<'a>
impl<'a> RefUnwindSafe for FramebufferAttachmentImageInfo<'a>
impl<'a> Unpin for FramebufferAttachmentImageInfo<'a>
impl<'a> UnwindSafe for FramebufferAttachmentImageInfo<'a>
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