Skip to main content

NumericArray

Type Alias NumericArray 

Source
pub type NumericArray = ArrayBuf<NumericArrayEnum>;
Expand description

Portable, owned NumericArrayWL value.

Type alias over ArrayBuf<NumericArrayEnum>.

Aliased Type§

pub struct NumericArray { /* private fields */ }

Trait Implementations§

Source§

impl<'de> FromWXF<'de> for NumericArray

Source§

fn from_wxf_with_tag<R: Reader<'de>>( r: &mut WxfReader<R>, tok: ExpressionEnum, ) -> Result<Self, Error>

Read the body given the already-consumed expression token.
Source§

fn from_wxf<R>(r: &mut WxfReader<R>) -> Result<Self, Error>
where R: Reader<'de>,

Read a complete value: its expression token, then its body.
Source§

impl ToWXF for NumericArray

Source§

fn to_wxf<W: Writer>(&self, w: &mut WxfWriter<W>) -> Result<(), Error>

Write self to w as a complete WXF value (tag + payload).