pub struct SubAllocation {
pub memory: DeviceMemory,
pub offset: u64,
pub size: u64,
}Expand description
An allocation within a larger chunk of allocated memory.
Fields§
§memory: DeviceMemory§offset: u64§size: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for SubAllocation
impl RefUnwindSafe for SubAllocation
impl Send for SubAllocation
impl Sync for SubAllocation
impl Unpin for SubAllocation
impl UnsafeUnpin for SubAllocation
impl UnwindSafe for SubAllocation
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