[−][src]Trait rkyv::UnarchiveRef
A counterpart of Unarchive
that's suitable for unsized types.
Required methods
pub unsafe fn unarchive_ref(
&self,
alloc: unsafe fn(_: Layout) -> *mut u8
) -> *mut T
[src]
&self,
alloc: unsafe fn(_: Layout) -> *mut u8
) -> *mut T
Unarchives a reference to the given value.
Safety
The return value must be allocated using the given allocator function.
Implementations on Foreign Types
impl UnarchiveRef<str> for <str as ArchiveRef>::Reference
[src]
impl<T: Archive> UnarchiveRef<[T]> for <[T] as ArchiveRef>::Reference where
T::Archived: Unarchive<T>,
[src]
Loading content...T::Archived: Unarchive<T>,
Implementors
impl<T: Archive> UnarchiveRef<T> for <T as ArchiveRef>::Reference where
T::Archived: Unarchive<T>,
[src]
T::Archived: Unarchive<T>,