#[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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageSubresource2
impl Debug for ImageSubresource2
Source§impl Default for ImageSubresource2
impl Default for ImageSubresource2
Source§fn default() -> ImageSubresource2
fn default() -> ImageSubresource2
Returns the “default value” for a type. Read more
impl Copy for ImageSubresource2
Auto Trait Implementations§
impl Freeze for ImageSubresource2
impl RefUnwindSafe for ImageSubresource2
impl !Send for ImageSubresource2
impl !Sync 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