Trait rkyv::with::ArchiveWith[][src]

pub trait ArchiveWith<F: ?Sized> {
    type Archived;
    type Resolver;
    unsafe fn resolve_with(
        field: &F,
        pos: usize,
        resolver: Self::Resolver,
        out: *mut Self::Archived
    ); }
Expand description

A variant of Archive that works with With wrappers.

Associated Types

The archived type of a With<F, Self>.

The resolver of a With<F, Self>.

Required methods

Resolves the archived type using a reference to the field type F.

Safety

  • pos must be the position of out within the archive
  • resolver must be the result of serializing field

Implementors