#[repr(C)]pub struct VkSubresourceLayout {
pub offset: VkDeviceSize,
pub size: VkDeviceSize,
pub rowPitch: VkDeviceSize,
pub arrayPitch: VkDeviceSize,
pub depthPitch: VkDeviceSize,
}
Fields§
§offset: VkDeviceSize
§size: VkDeviceSize
§rowPitch: VkDeviceSize
§arrayPitch: VkDeviceSize
§depthPitch: VkDeviceSize
Trait Implementations§
Source§impl Clone for VkSubresourceLayout
impl Clone for VkSubresourceLayout
Source§fn clone(&self) -> VkSubresourceLayout
fn clone(&self) -> VkSubresourceLayout
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for VkSubresourceLayout
impl Default for VkSubresourceLayout
Source§fn default() -> VkSubresourceLayout
fn default() -> VkSubresourceLayout
Returns the “default value” for a type. Read more
impl Copy for VkSubresourceLayout
Auto Trait Implementations§
impl Freeze for VkSubresourceLayout
impl RefUnwindSafe for VkSubresourceLayout
impl Send for VkSubresourceLayout
impl Sync for VkSubresourceLayout
impl Unpin for VkSubresourceLayout
impl UnwindSafe for VkSubresourceLayout
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