pub struct SparseMemoryBind<'a> { /* private fields */ }Implementations§
Source§impl<'a> SparseMemoryBind<'a>
impl<'a> SparseMemoryBind<'a>
pub fn new( resource_byte_range: Range<VkDeviceSize>, memory: &'a (impl VkHandle<Handle = VkDeviceMemory> + ?Sized), memory_offset: VkDeviceSize, ) -> Self
pub const fn into_raw(self) -> VkSparseMemoryBind
Sourcepub const unsafe fn from_raw(vk: VkSparseMemoryBind) -> Self
pub const unsafe fn from_raw(vk: VkSparseMemoryBind) -> Self
§Safety
raw must be a valid brvk::VkSparseMemoryBind struct.
pub const fn as_raw_ref(&self) -> &VkSparseMemoryBind
pub const unsafe fn as_raw_ref_mut(&mut self) -> &mut VkSparseMemoryBind
Auto Trait Implementations§
impl<'a> Freeze for SparseMemoryBind<'a>
impl<'a> !RefUnwindSafe for SparseMemoryBind<'a>
impl<'a> !Send for SparseMemoryBind<'a>
impl<'a> !Sync for SparseMemoryBind<'a>
impl<'a> Unpin for SparseMemoryBind<'a>
impl<'a> UnsafeUnpin for SparseMemoryBind<'a>
impl<'a> !UnwindSafe for SparseMemoryBind<'a>
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