Struct ash::vk::SubresourceLayout
source · #[repr(C)]pub struct SubresourceLayout {
pub offset: DeviceSize,
pub size: DeviceSize,
pub row_pitch: DeviceSize,
pub array_pitch: DeviceSize,
pub depth_pitch: DeviceSize,
}
Expand description
Fields§
§offset: DeviceSize
§size: DeviceSize
§row_pitch: DeviceSize
§array_pitch: DeviceSize
§depth_pitch: DeviceSize
Implementations§
source§impl SubresourceLayout
impl SubresourceLayout
pub fn builder<'a>() -> SubresourceLayoutBuilder<'a>
Trait Implementations§
source§impl Clone for SubresourceLayout
impl Clone for SubresourceLayout
source§fn clone(&self) -> SubresourceLayout
fn clone(&self) -> SubresourceLayout
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 Debug for SubresourceLayout
impl Debug for SubresourceLayout
source§impl Default for SubresourceLayout
impl Default for SubresourceLayout
source§fn default() -> SubresourceLayout
fn default() -> SubresourceLayout
Returns the “default value” for a type. Read more
impl Copy for SubresourceLayout
Auto Trait Implementations§
impl RefUnwindSafe for SubresourceLayout
impl Send for SubresourceLayout
impl Sync for SubresourceLayout
impl Unpin for SubresourceLayout
impl UnwindSafe for SubresourceLayout
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