#[repr(C)]pub struct SubresourceLayout2 {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub subresource_layout: SubresourceLayout,
}Expand description
VkSubresourceLayout2
Provided by VK_BASE_VERSION_1_4.
Returned only*, filled by Vulkan, not constructed by the application.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SUBRESOURCE_LAYOUT_2.
p_next: *mut c_voidOptional, may be null.
subresource_layout: SubresourceLayoutImplementations§
Source§impl SubresourceLayout2
impl SubresourceLayout2
Sourcepub fn builder<'a>() -> SubresourceLayout2Builder<'a>
pub fn builder<'a>() -> SubresourceLayout2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SubresourceLayout2
impl Clone for SubresourceLayout2
Source§fn clone(&self) -> SubresourceLayout2
fn clone(&self) -> SubresourceLayout2
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 SubresourceLayout2
impl Debug for SubresourceLayout2
Source§impl Default for SubresourceLayout2
impl Default for SubresourceLayout2
Source§fn default() -> SubresourceLayout2
fn default() -> SubresourceLayout2
Returns the “default value” for a type. Read more
impl Copy for SubresourceLayout2
Auto Trait Implementations§
impl Freeze for SubresourceLayout2
impl RefUnwindSafe for SubresourceLayout2
impl !Send for SubresourceLayout2
impl !Sync for SubresourceLayout2
impl Unpin for SubresourceLayout2
impl UnsafeUnpin for SubresourceLayout2
impl UnwindSafe for SubresourceLayout2
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