pub type SerializerAlignedBuffer<P, const ALIGNMENT: usize = DEFAULT_BUFFER_ALIGNMENT, A = Global> = SharedAlignedBuffer<ALIGNMENT, BufferPoolAllocator<P, ALIGNMENT, SerializerWeakRef<P, ALIGNMENT, A>, A>>;

Aliased Type§

struct SerializerAlignedBuffer<P, const ALIGNMENT: usize = DEFAULT_BUFFER_ALIGNMENT, A = Global> { /* private fields */ }

Trait Implementations§

source§

impl<P: BufferRetentionPolicy, const ALIGNMENT: usize, A> From<Serializer<P, ALIGNMENT, A>> for SerializerAlignedBuffer<P, ALIGNMENT, A>
where A: Allocator + Clone,

source§

fn from(serializer: Serializer<P, ALIGNMENT, A>) -> Self

Converts to this type from the input type.