Struct ash::vk::definitions::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 offset(self, offset: DeviceSize) -> Self
pub fn size(self, size: DeviceSize) -> Self
pub fn row_pitch(self, row_pitch: DeviceSize) -> Self
pub fn array_pitch(self, array_pitch: DeviceSize) -> Self
pub fn depth_pitch(self, depth_pitch: DeviceSize) -> Self
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 Freeze for SubresourceLayout
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)