Struct rkyv::ser::serializers::BufferScratch
source · [−]pub struct BufferScratch<T> { /* private fields */ }
Expand description
Scratch space that allocates within a buffer.
Implementations
sourceimpl<T> BufferScratch<T>
impl<T> BufferScratch<T>
Trait Implementations
sourceimpl<T: Debug> Debug for BufferScratch<T>
impl<T: Debug> Debug for BufferScratch<T>
sourceimpl<T: Default> Default for BufferScratch<T>
impl<T: Default> Default for BufferScratch<T>
sourceimpl<T> Fallible for BufferScratch<T>
impl<T> Fallible for BufferScratch<T>
type Error = FixedSizeScratchError
type Error = FixedSizeScratchError
The error produced by any failing methods.
Auto Trait Implementations
impl<T> RefUnwindSafe for BufferScratch<T> where
T: RefUnwindSafe,
impl<T> Send for BufferScratch<T> where
T: Send,
impl<T> Sync for BufferScratch<T> where
T: Sync,
impl<T> Unpin for BufferScratch<T> where
T: Unpin,
impl<T> UnwindSafe for BufferScratch<T> where
T: UnwindSafe,
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