Skip to main content

fields_are_noundef

Function fields_are_noundef 

Source
fn fields_are_noundef<'a, Ty, C>(layout: TyAndLayout<'a, Ty>, cx: &C) -> bool
where Ty: TyAbiInterface<'a, C> + Copy, C: HasDataLayout,
Expand description

Returns true if the fields of layout contiguously cover bytes 0..layout.size with no padding gaps and each field is recursively layout_is_noundef.