pub struct AllocationMeta {
pub ptr: usize,
pub size: usize,
pub space: PackedHandle,
pub alignment: usize,
pub alloc_id: u64,
pub host_readable: bool,
pub host_writable: bool,
}Expand description
SoftGPU permission / lifetime metadata for a tracked allocation.
Fields§
§ptr: usize§size: usize§space: PackedHandle§alignment: usize§alloc_id: u64§host_readable: bool§host_writable: boolTrait Implementations§
Source§impl Clone for AllocationMeta
impl Clone for AllocationMeta
Source§fn clone(&self) -> AllocationMeta
fn clone(&self) -> AllocationMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AllocationMeta
impl Debug for AllocationMeta
impl Eq for AllocationMeta
Source§impl PartialEq for AllocationMeta
impl PartialEq for AllocationMeta
impl StructuralPartialEq for AllocationMeta
Auto Trait Implementations§
impl Freeze for AllocationMeta
impl RefUnwindSafe for AllocationMeta
impl Send for AllocationMeta
impl Sync for AllocationMeta
impl Unpin for AllocationMeta
impl UnsafeUnpin for AllocationMeta
impl UnwindSafe for AllocationMeta
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