Function zerovec::ule::encode_varule_to_box
source · [−]pub fn encode_varule_to_box<S: EncodeAsVarULE<T>, T: VarULE + ?Sized>(
x: &S
) -> Box<T>ⓘNotable traits for Box<R, Global>impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<F, A> Future for Box<F, A> where
F: Future + Unpin + ?Sized,
A: Allocator + 'static, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
I: Iterator + ?Sized,
A: Allocator, type Item = <I as Iterator>::Item;
Expand description
Given an EncodeAsVarULE
type S
, encode it into a Box<T>
This is primarily useful for generating Deserialize
impls for VarULE types