bytemuck_derive::traits

Function generate_checked_bit_pattern_enum_with_fields

source
fn generate_checked_bit_pattern_enum_with_fields(
    input: &DeriveInput,
    variants: &Punctuated<Variant, Comma>,
    crate_name: &TokenStream,
) -> Result<(TokenStream, TokenStream)>