//! Compile-time validation that a const generic usize fits in a u32.
/// This struct is used as a compile-time assertion. Accessing [`ValidU32::OK`]
/// will cause a compile error if `N` is greater than `u32::MAX as usize`.
pubstructValidU32<const N:usize>;impl<const N:usize>ValidU32<N>{/// A compile-time assertion that `N` fits in a `u32`.
////// Accessing this constant will cause a compile error if `N > u32::MAX as usize`.
pubconstOK:()=assert!(N <=u32::MAXasusize,"N must fit in a u32",);}