pub struct TapScript(_);Implementations§
Trait Implementations§
source§impl CommitVerify<TapretCommitment, Lnpbp12> for TapScript
impl CommitVerify<TapretCommitment, Lnpbp12> for TapScript
source§impl<'de> Deserialize<'de> for TapScript
impl<'de> Deserialize<'de> for TapScript
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TapScript, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TapScript, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ScriptBytes> for TapScript
impl From<ScriptBytes> for TapScript
source§fn from(v: ScriptBytes) -> TapScript
fn from(v: ScriptBytes) -> TapScript
Converts to this type from the input type.
source§impl From<TapScript> for LeafScript
impl From<TapScript> for LeafScript
source§fn from(tap_script: TapScript) -> LeafScript
fn from(tap_script: TapScript) -> LeafScript
Converts to this type from the input type.
source§impl From<TapScript> for ScriptBytes
impl From<TapScript> for ScriptBytes
source§fn from(wrapped: TapScript) -> ScriptBytes
fn from(wrapped: TapScript) -> ScriptBytes
Converts to this type from the input type.
source§impl Ord for TapScript
impl Ord for TapScript
source§impl PartialEq<TapScript> for TapScript
impl PartialEq<TapScript> for TapScript
source§impl PartialOrd<TapScript> for TapScript
impl PartialOrd<TapScript> for TapScript
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for TapScript
impl Serialize for TapScript
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl StrictDecode for TapScript
impl StrictDecode for TapScript
fn strict_decode(reader: &mut impl TypedRead) -> Result<TapScript, DecodeError>
source§impl StrictEncode for TapScript
impl StrictEncode for TapScript
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
source§impl StrictTuple for TapScript
impl StrictTuple for TapScript
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for TapScript
impl StrictType for TapScript
const STRICT_LIB_NAME: &'static str = LIB_NAME_BP
fn strict_name() -> Option<TypeName>
source§impl Wrapper for TapScript
impl Wrapper for TapScript
§type Inner = ScriptBytes
type Inner = ScriptBytes
Inner type wrapped by the current newtype
source§fn from_inner(inner: <TapScript as Wrapper>::Inner) -> TapScript
fn from_inner(inner: <TapScript as Wrapper>::Inner) -> TapScript
Instantiates wrapper type with the inner data
source§impl WrapperMut for TapScript
impl WrapperMut for TapScript
impl Eq for TapScript
impl StrictProduct for TapScript
impl StructuralEq for TapScript
impl StructuralPartialEq for TapScript
Auto Trait Implementations§
impl RefUnwindSafe for TapScript
impl Send for TapScript
impl Sync for TapScript
impl Unpin for TapScript
impl UnwindSafe for TapScript
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.