Struct rkyv::ser::serializers::SharedSerializeMap
source · [−]pub struct SharedSerializeMap { /* private fields */ }
Expand description
An adapter that adds shared serialization support to a serializer.
Implementations
Trait Implementations
sourceimpl Debug for SharedSerializeMap
impl Debug for SharedSerializeMap
sourceimpl Default for SharedSerializeMap
impl Default for SharedSerializeMap
sourceimpl Fallible for SharedSerializeMap
impl Fallible for SharedSerializeMap
type Error = SharedSerializeMapError
type Error = SharedSerializeMapError
The error produced by any failing methods.
Gets the position of a previously-added shared pointer. Read more
Adds the position of a shared pointer to the registry.
Gets the position of a previously-added shared value. Read more
Adds the position of a shared value to the registry.
Archives the given shared value and returns its position. If the value has already been added then it returns the position of the previously added value. Read more
impl Send for SharedSerializeMap
impl Sync for SharedSerializeMap
Auto Trait Implementations
impl RefUnwindSafe for SharedSerializeMap
impl Unpin for SharedSerializeMap
impl UnwindSafe for SharedSerializeMap
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