Macro zerocopy::macros::impl_known_layout
source ยท macro_rules! impl_known_layout { ($(const $constvar:ident : $constty:ty, $tyvar:ident $(: ?$optbound:ident)? => $ty:ty),* $(,)?) => { ... }; ($($tyvar:ident $(: ?$optbound:ident)? => $ty:ty),* $(,)?) => { ... }; ($($ty:ty),*) => { ... }; (@inner $(const $constvar:ident : $constty:ty)? , $($tyvar:ident $(: ?$optbound:ident)?)? => $ty:ty) => { ... }; }
Expand description
Implements KnownLayout
for a sized type.