rkyv::traits

Trait NoUndef

Source
pub unsafe trait NoUndef { }
Expand description

A type with no undefined bytes.

§Safety

The bytes of types implementing NoUndef must always be well-defined. Among other things, this means that NoUndef types may not contain padding or uninitialized MaybeUninits.

Implementations on Foreign Types§

Source§

impl NoUndef for bool

Source§

impl NoUndef for i8

Source§

impl NoUndef for str

Source§

impl NoUndef for u8

Source§

impl NoUndef for ()

Source§

impl NoUndef for NonZeroI16_be

Source§

impl NoUndef for NonZeroI16_le

Source§

impl NoUndef for NonZeroI32_be

Source§

impl NoUndef for NonZeroI32_le

Source§

impl NoUndef for NonZeroI64_be

Source§

impl NoUndef for NonZeroI64_le

Source§

impl NoUndef for NonZeroI128_be

Source§

impl NoUndef for NonZeroI128_le

Source§

impl NoUndef for NonZeroU16_be

Source§

impl NoUndef for NonZeroU16_le

Source§

impl NoUndef for NonZeroU32_be

Source§

impl NoUndef for NonZeroU32_le

Source§

impl NoUndef for NonZeroU64_be

Source§

impl NoUndef for NonZeroU64_le

Source§

impl NoUndef for NonZeroU128_be

Source§

impl NoUndef for NonZeroU128_le

Source§

impl NoUndef for char_be

Source§

impl NoUndef for char_le

Source§

impl NoUndef for f32_be

Source§

impl NoUndef for f32_le

Source§

impl NoUndef for f64_be

Source§

impl NoUndef for f64_le

Source§

impl NoUndef for i16_be

Source§

impl NoUndef for i16_le

Source§

impl NoUndef for i32_be

Source§

impl NoUndef for i32_le

Source§

impl NoUndef for i64_be

Source§

impl NoUndef for i64_le

Source§

impl NoUndef for i128_be

Source§

impl NoUndef for i128_le

Source§

impl NoUndef for u16_be

Source§

impl NoUndef for u16_le

Source§

impl NoUndef for u32_be

Source§

impl NoUndef for u32_le

Source§

impl NoUndef for u64_be

Source§

impl NoUndef for u64_le

Source§

impl NoUndef for u128_be

Source§

impl NoUndef for u128_le

Source§

impl NoUndef for NonZeroI16_ube

Source§

impl NoUndef for NonZeroI16_ule

Source§

impl NoUndef for NonZeroI32_ube

Source§

impl NoUndef for NonZeroI32_ule

Source§

impl NoUndef for NonZeroI64_ube

Source§

impl NoUndef for NonZeroI64_ule

Source§

impl NoUndef for NonZeroI128_ube

Source§

impl NoUndef for NonZeroI128_ule

Source§

impl NoUndef for NonZeroU16_ube

Source§

impl NoUndef for NonZeroU16_ule

Source§

impl NoUndef for NonZeroU32_ube

Source§

impl NoUndef for NonZeroU32_ule

Source§

impl NoUndef for NonZeroU64_ube

Source§

impl NoUndef for NonZeroU64_ule

Source§

impl NoUndef for NonZeroU128_ube

Source§

impl NoUndef for NonZeroU128_ule

Source§

impl NoUndef for char_ube

Source§

impl NoUndef for char_ule

Source§

impl NoUndef for f32_ube

Source§

impl NoUndef for f32_ule

Source§

impl NoUndef for f64_ube

Source§

impl NoUndef for f64_ule

Source§

impl NoUndef for i16_ube

Source§

impl NoUndef for i16_ule

Source§

impl NoUndef for i32_ube

Source§

impl NoUndef for i32_ule

Source§

impl NoUndef for i64_ube

Source§

impl NoUndef for i64_ule

Source§

impl NoUndef for i128_ube

Source§

impl NoUndef for i128_ule

Source§

impl NoUndef for u16_ube

Source§

impl NoUndef for u16_ule

Source§

impl NoUndef for u32_ube

Source§

impl NoUndef for u32_ule

Source§

impl NoUndef for u64_ube

Source§

impl NoUndef for u64_ule

Source§

impl NoUndef for u128_ube

Source§

impl NoUndef for u128_ule

Source§

impl NoUndef for NonZeroI8

Source§

impl NoUndef for NonZeroU8

Source§

impl<T: NoUndef, const N: usize> NoUndef for [T; N]

Implementors§