fn generate_target_or_actual_bitfield_size(&self, config: &Config) -> TokenStream2 {
        config
            .bits
            .as_ref()
            .map(|bits_config| {
                let span = bits_config.span;
                let value = bits_config.value;
                quote_spanned!(span=>
                    #value
                )
            })
            .unwrap_or_else(|| self.generate_bitfield_size())
    }
/// Generates the expression denoting the actual configured or implied bit width.
Generates the expression denoting the actual configured or implied bit width.
Generates the expression denoting the actual configured or implied bit width .
fn generate_target_or_actual_bitfield_size(&self, config: &Config) -> TokenStream2 {
        config
            .bits
            .as_ref()
            .map(|bits_config| {
                let span = bits_config.span;
                let value = bits_config.value;
                quote_spanned!(span=>
                    #value
                )
            })
            .unwrap_or_else(|| self.generate_bitfield_size())
    }
fn generate_target_or_actual_bitfield_size ( & self , config : & Config ) -> TokenStream2 { config . bits . as_ref ( ) . map ( | bits_config | { let span = bits_config . span ; let value = bits_config . value ; quote_spanned ! ( span value ) } ) . unwrap_or_else ( | | self . generate_bitfield_size ( ) ) }
Generates the expression denoting the actual configured or implied bit width.
Generates the expression denoting the actual configured or implied bit width .
&self
config
&Config
&self
config
&Config