Struct rkyv::ser::serializers::HeapScratch
source · pub struct HeapScratch<const N: usize> { /* private fields */ }
Expand description
Fixed-size scratch space allocated on the heap.
Implementations§
Trait Implementations§
source§impl<const N: usize> Debug for HeapScratch<N>
impl<const N: usize> Debug for HeapScratch<N>
source§impl<const N: usize> Default for HeapScratch<N>
impl<const N: usize> Default for HeapScratch<N>
source§impl<const N: usize> Fallible for HeapScratch<N>
impl<const N: usize> Fallible for HeapScratch<N>
source§impl<const N: usize> ScratchSpace for HeapScratch<N>
impl<const N: usize> ScratchSpace for HeapScratch<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for HeapScratch<N>
impl<const N: usize> RefUnwindSafe for HeapScratch<N>
impl<const N: usize> Send for HeapScratch<N>
impl<const N: usize> Sync for HeapScratch<N>
impl<const N: usize> Unpin for HeapScratch<N>
impl<const N: usize> UnwindSafe for HeapScratch<N>
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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