fn to_public<C: Signing>(&self, secp: &Secp256k1<C>) -> SinglePub {
        let pub_key = self.key.public_key(secp);

        SinglePub {
            origin: self.origin.clone(),
            key: SinglePubKey::FullKey(pub_key),
        }
    }
/// Returns the public key of this key.
Returns the public key of this key.
Returns the public key of this key .
fn to_public<C: Signing>(&self, secp: &Secp256k1<C>) -> SinglePub {
        let pub_key = self.key.public_key(secp);
        SinglePub {
            origin: self.origin.clone(),
            key: SinglePubKey::FullKey(pub_key),
        }
    }
fn to_public < C : Signing > ( & self , secp : & Secp256k1 < C > ) -> SinglePub { let pub_key = self . key . public_key ( secp ) ; SinglePub { origin : self . origin . clone ( ) , key : SinglePubKey :: FullKey ( pub_key ) , } }
Returns the public key of this key.
Returns the public key of this key .
&self
secp
&Secp256k1<C>
&self
secp
&Secp256k1<C>