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
impl<D> Deserialize<NonZero<usize>, D> for ArchivedNonZeroUsize
Source§fn deserialize(&self, _: &mut D) -> Result<NonZeroUsize, D::Error>
fn deserialize(&self, _: &mut D) -> Result<NonZeroUsize, D::Error>
Deserializes using the given deserializer