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
sourceimpl<const N: usize> HeapScratch<N>
impl<const N: usize> HeapScratch<N>
Trait Implementations
sourceimpl<const N: usize> Debug for HeapScratch<N>
impl<const N: usize> Debug for HeapScratch<N>
sourceimpl<const N: usize> Default for HeapScratch<N>
impl<const N: usize> Default for HeapScratch<N>
sourceimpl<const N: usize> Fallible for HeapScratch<N>
impl<const N: usize> Fallible for HeapScratch<N>
sourceimpl<const N: usize> ScratchSpace for HeapScratch<N>
impl<const N: usize> ScratchSpace for HeapScratch<N>
Auto Trait Implementations
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
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
fn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more