#[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: SparseMemoryBindFlagsImplementations§
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
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 UnsafeUnpin 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