#[repr(C)]pub struct ImageSubresource2 {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub image_subresource: ImageSubresource,
}Expand description
VkImageSubresource2
Provided by VK_BASE_VERSION_1_4.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_IMAGE_SUBRESOURCE_2.
p_next: *mut c_voidOptional, may be null.
image_subresource: ImageSubresourceImplementations§
Source§impl ImageSubresource2
impl ImageSubresource2
Sourcepub fn builder<'a>() -> ImageSubresource2Builder<'a>
pub fn builder<'a>() -> ImageSubresource2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for ImageSubresource2
impl Clone for ImageSubresource2
Source§fn clone(&self) -> ImageSubresource2
fn clone(&self) -> ImageSubresource2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageSubresource2
Source§impl Debug for ImageSubresource2
impl Debug for ImageSubresource2
Auto Trait Implementations§
impl !Send for ImageSubresource2
impl !Sync for ImageSubresource2
impl Freeze for ImageSubresource2
impl RefUnwindSafe for ImageSubresource2
impl Unpin for ImageSubresource2
impl UnsafeUnpin for ImageSubresource2
impl UnwindSafe for ImageSubresource2
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