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