pub struct AllocationResult {
pub memory: DeviceMemory,
pub offset: u64,
pub block_id: Option<usize>,
pub mapped_ptr: Option<*mut u8>,
pub is_coherent: bool,
}Fields§
§memory: DeviceMemory§offset: u64§block_id: Option<usize>§mapped_ptr: Option<*mut u8>§is_coherent: boolTrait Implementations§
Auto Trait Implementations§
impl !Send for AllocationResult
impl !Sync for AllocationResult
impl Freeze for AllocationResult
impl RefUnwindSafe for AllocationResult
impl Unpin for AllocationResult
impl UnsafeUnpin for AllocationResult
impl UnwindSafe for AllocationResult
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