Skip to main content

layout_eq

Function layout_eq 

Source
#[doc(hidden)]
pub const fn layout_eq<T, U>() -> bool
Expand description

Tests if two types have identical layouts (size and alignment are equal).