Struct ash::vk::definitions::SparseImageMemoryBind
source · #[repr(C)]pub struct SparseImageMemoryBind {
pub subresource: ImageSubresource,
pub offset: Offset3D,
pub extent: Extent3D,
pub memory: DeviceMemory,
pub memory_offset: DeviceSize,
pub flags: SparseMemoryBindFlags,
}
Expand description
Fields§
§subresource: ImageSubresource
§offset: Offset3D
§extent: Extent3D
§memory: DeviceMemory
§memory_offset: DeviceSize
§flags: SparseMemoryBindFlags
Implementations§
source§impl SparseImageMemoryBind
impl SparseImageMemoryBind
pub fn subresource(self, subresource: ImageSubresource) -> Self
pub fn offset(self, offset: Offset3D) -> Self
pub fn extent(self, extent: Extent3D) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn memory_offset(self, memory_offset: DeviceSize) -> Self
pub fn flags(self, flags: SparseMemoryBindFlags) -> Self
Trait Implementations§
source§impl Clone for SparseImageMemoryBind
impl Clone for SparseImageMemoryBind
source§fn clone(&self) -> SparseImageMemoryBind
fn clone(&self) -> SparseImageMemoryBind
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 SparseImageMemoryBind
impl Debug for SparseImageMemoryBind
source§impl Default for SparseImageMemoryBind
impl Default for SparseImageMemoryBind
source§fn default() -> SparseImageMemoryBind
fn default() -> SparseImageMemoryBind
Returns the “default value” for a type. Read more
impl Copy for SparseImageMemoryBind
Auto Trait Implementations§
impl Freeze for SparseImageMemoryBind
impl RefUnwindSafe for SparseImageMemoryBind
impl Send for SparseImageMemoryBind
impl Sync for SparseImageMemoryBind
impl Unpin for SparseImageMemoryBind
impl UnwindSafe for SparseImageMemoryBind
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
)