pub fn to_xpub(&self) -> Xpub {
        let point = self.scalar * &constants::RISTRETTO_BASEPOINT_POINT;
        Xpub {
            point: point,
            dk: self.dk,
            precompressed_pubkey: self.precompressed_pubkey,
        }
    }
/// Returns a new Xpub, generated from the provided Xprv.
Returns a new Xpub, generated from the provided Xprv.
Returns a new Xpub generated from the provided Xprv .
pub fn to_xpub(&self) -> Xpub {
        let point = self.scalar * &constants::RISTRETTO_BASEPOINT_POINT;
        Xpub {
            point: point,
            dk: self.dk,
            precompressed_pubkey: self.precompressed_pubkey,
        }
    }
pub fn to_xpub ( & self ) -> Xpub { let point = self . scalar * & constants :: RISTRETTO_BASEPOINT_POINT ; Xpub { point : point , dk : self . dk , precompressed_pubkey : self . precompressed_pubkey , } }
Returns a new Xpub, generated from the provided Xprv.
Returns a new Xpub generated from the provided Xprv .
&self
&self