rkyv::primitive

Type Alias ArchivedU16

Source
pub type ArchivedU16 = u16_le;
Expand description

The archived version of u16.

Aliased Type§

struct ArchivedU16(/* private fields */);

Trait Implementations§

Source§

impl<D: Fallible + ?Sized> Deserialize<u16, D> for ArchivedU16

Source§

fn deserialize(&self, _: &mut D) -> Result<u16, D::Error>

Deserializes using the given deserializer
Source§

impl Offset for ArchivedU16

Source§

fn from_isize<E: Source>(value: isize) -> Result<Self, E>

Creates a new offset between a from position and a to position.
Source§

fn to_isize(self) -> isize

Gets the offset as an isize.