pub struct AllocatedChunk {
pub descriptor: ChunkDescriptor,
pub data: PtrInSegment,
}Expand description
A recently-allocated chunk.
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Fields§
§descriptor: ChunkDescriptor§data: PtrInSegmentImplementations§
Source§impl AllocatedChunk
impl AllocatedChunk
Sourcepub fn new(descriptor: ChunkDescriptor, data: PtrInSegment) -> Self
pub fn new(descriptor: ChunkDescriptor, data: PtrInSegment) -> Self
Create a new Allocated Chunk
This API has been marked as unstable: it works as advertised, but it may be changed in a future release.
Auto Trait Implementations§
impl Freeze for AllocatedChunk
impl !RefUnwindSafe for AllocatedChunk
impl Send for AllocatedChunk
impl Sync for AllocatedChunk
impl Unpin for AllocatedChunk
impl !UnwindSafe for AllocatedChunk
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
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