#[repr(C)]pub struct SubresourceLayout {
pub offset: DeviceSize,
pub size: DeviceSize,
pub rowPitch: DeviceSize,
pub arrayPitch: DeviceSize,
pub depthPitch: DeviceSize,
}
Fields§
§offset: DeviceSize
§size: DeviceSize
§rowPitch: DeviceSize
§arrayPitch: DeviceSize
§depthPitch: DeviceSize
Trait Implementations§
Source§impl Clone for SubresourceLayout
impl Clone for SubresourceLayout
Source§fn clone(&self) -> SubresourceLayout
fn clone(&self) -> SubresourceLayout
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 moreimpl 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