fn new(key: DescriptorPublicKey, index: u32) -> Option<Self> {
        match key {
            DescriptorPublicKey::XPub(ref xpk) if xpk.wildcard != Wildcard::None => None,
            k => Some(DerivedDescriptorKey { key: k, index }),
        }
    }
/// Construct an instance from a descriptor key and a derivation index
///
/// Returns `None` if the key contains a wildcard
Construct an instance from a descriptor key and a derivation index
Returns `None` if the key contains a wildcard
Construct an instance from a descriptor key and a derivation index Returns ` None ` if the key contains a wildcard
fn new(key: DescriptorPublicKey, index: u32) -> Option<Self> {
        match key {
            DescriptorPublicKey::XPub(ref xpk) if xpk.wildcard != Wildcard::None => None,
            k => Some(DerivedDescriptorKey { key: k, index }),
        }
    }
fn new ( key : DescriptorPublicKey , index : u32 ) -> Option < Self > { match key { DescriptorPublicKey :: XPub ( ref xpk ) if xpk . wildcard != Wildcard :: None => None , k => Some ( DerivedDescriptorKey { key : k , index } ) , } }
Construct an instance from a descriptor key and a derivation index
Returns `None` if the key contains a wildcard
Construct an instance from a descriptor key and a derivation index Returns ` None ` if the key contains a wildcard
key
DescriptorPublicKey
index
u32
key
DescriptorPublicKey
index
u32