pub trait Pad: Copy + Sealed {
const VALUE: Self;
}
Expand description
A padding type.
Types implementing Pad
have only one valid bit-pattern.
This trait is provided so that downstream crates may
construct pad values generically within const fn
’s.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.