rkyv::primitive

Type Alias ArchivedNonZeroUsize

Source
pub type ArchivedNonZeroUsize = ArchivedNonZeroU32;
Expand description

The archived version of NonZeroUsize chosen based on the currently-enabled pointer_width_* feature.

Aliased Type§

struct ArchivedNonZeroUsize(/* private fields */);

Trait Implementations§

Source§

impl<D> Deserialize<NonZero<usize>, D> for ArchivedNonZeroUsize
where D: Fallible + ?Sized,

Source§

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

Deserializes using the given deserializer