Struct gpu_alloc::freelist::FreeListBlock
source · pub struct FreeListBlock<M> {
pub memory: Arc<M>,
pub ptr: Option<NonNull<u8>>,
pub chunk: u64,
pub offset: u64,
pub size: u64,
}
Fields§
§memory: Arc<M>
§ptr: Option<NonNull<u8>>
§chunk: u64
§offset: u64
§size: u64
Trait Implementations§
source§impl<M: Debug> Debug for FreeListBlock<M>
impl<M: Debug> Debug for FreeListBlock<M>
impl<M> Send for FreeListBlock<M>where
M: Send,
impl<M> Sync for FreeListBlock<M>where
M: Sync,
Auto Trait Implementations§
impl<M> Freeze for FreeListBlock<M>
impl<M> RefUnwindSafe for FreeListBlock<M>where
M: RefUnwindSafe,
impl<M> Unpin for FreeListBlock<M>
impl<M> UnwindSafe for FreeListBlock<M>where
M: RefUnwindSafe,
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