fn script_code(&self) -> Script
        where
            Pk: ToPublicKey,
        {
            <Self as DescriptorTrait<Pk>>::script_code(self)
                .expect("Pre taproot descriptor have non-failing script code")
        }
/// Same as [`DescriptorTrait::script_code`], but a non failing version.
/// All PreTaproot descriptors have a script code
Same as [`DescriptorTrait::script_code`], but a non failing version.
All PreTaproot descriptors have a script code
Same as [ ` DescriptorTrait :: script_code ` ] but a non failing version . All PreTaproot descriptors have a script code
fn script_code(&self) -> Script
        where
            Pk: ToPublicKey,
        {
            <Self as DescriptorTrait<Pk>>::script_code(self)
                .expect("Pre taproot descriptor have non-failing script code")
        }
fn script_code ( & self ) -> Script where Pk : ToPublicKey , { < Self as DescriptorTrait < Pk > > :: script_code ( self ) . expect ( " " ) }
Same as [`DescriptorTrait::script_code`], but a non failing version.
Same as [ ` DescriptorTrait :: script_code ` ] but a non failing version .
&self
&self