Struct vulkanalia::vk::SubresourceLayout
source · #[repr(C)]pub struct SubresourceLayout {
pub offset: u64,
pub size: u64,
pub row_pitch: u64,
pub array_pitch: u64,
pub depth_pitch: u64,
}
Expand description
Fields§
§offset: u64
§size: u64
§row_pitch: u64
§array_pitch: u64
§depth_pitch: u64
Trait Implementations§
source§impl Cast for SubresourceLayout
impl Cast for SubresourceLayout
§type Target = SubresourceLayout
type Target = SubresourceLayout
The other type this type can be used interchangeably with in FFI.
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
source§impl HasBuilder<'static> for SubresourceLayout
impl HasBuilder<'static> for SubresourceLayout
source§impl Hash for SubresourceLayout
impl Hash for SubresourceLayout
source§impl PartialEq<SubresourceLayout> for SubresourceLayout
impl PartialEq<SubresourceLayout> for SubresourceLayout
source§fn eq(&self, other: &SubresourceLayout) -> bool
fn eq(&self, other: &SubresourceLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SubresourceLayout
impl Eq for SubresourceLayout
impl StructuralEq for SubresourceLayout
impl StructuralPartialEq 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