[−][src]Struct miniscript::NullCtx
Dummy Context for impl for ToPublicKey for bitcoin::PublicKey
Trait Implementations
impl Clone for NullCtx
[src]
impl Copy for NullCtx
[src]
impl Debug for NullCtx
[src]
impl ToPublicKey<NullCtx> for PublicKey
[src]
pub fn to_public_key(&self, _ctx: NullCtx) -> PublicKey
[src]
pub fn hash_to_hash160(hash: &Hash, _ctx: NullCtx) -> Hash
[src]
pub fn serialized_len(&self, to_pk_ctx: ToPkCtx) -> usize
[src]
impl ToPublicKey<NullCtx> for DummyKey
[src]
pub fn to_public_key(&self, _ctx: NullCtx) -> PublicKey
[src]
pub fn hash_to_hash160(_: &DummyKeyHash, _ctx: NullCtx) -> Hash
[src]
pub fn serialized_len(&self, to_pk_ctx: ToPkCtx) -> usize
[src]
Auto Trait Implementations
impl RefUnwindSafe for NullCtx
impl Send for NullCtx
impl Sync for NullCtx
impl Unpin for NullCtx
impl UnwindSafe for NullCtx
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,