#[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 builder<'a>() -> SparseMemoryBindBuilder<'a>
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
)