#[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 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
)