[−][src]Trait typic::layout::Layout
Type-level information about type representation.
Associated Types
type Size: Unsigned + ArrayLength<u8>
The size of Self
.
use typenum::*; use static_assertions::*; use typic::layout::Layout; assert_type_eq_all!(U4, <[u16; 2] as Layout>::Size);
type Align: Unsigned
The minimum alignment of Self
.
use typenum::*; use static_assertions::*; use typic::layout::Layout; assert_type_eq_all!(U2, <[u16; 2] as Layout>::Align);
Implementors
impl<T> Layout for T where
T: Layout<Public>,
[src]
T: Layout<Public>,