pub struct Assignments<Seal>(_)
where
    Seal: ExposedSeal;

Implementations§

source§

impl Assignments<BlindSeal<Txid>>

source

pub fn transmutate_seals(&self) -> Assignments<BlindSeal<TxPtr>>

Trait Implementations§

source§

impl<Seal> AsMut<<Assignments<Seal> as Wrapper>::Inner> for Assignments<Seal>where Seal: ExposedSeal,

source§

fn as_mut(&mut self) -> &mut <Assignments<Seal> as Wrapper>::Inner

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl<Seal> AsRef<<Assignments<Seal> as Wrapper>::Inner> for Assignments<Seal>where Seal: ExposedSeal,

source§

fn as_ref(&self) -> &<Assignments<Seal> as Wrapper>::Inner

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<Seal> Borrow<<Assignments<Seal> as Wrapper>::Inner> for Assignments<Seal>where Seal: ExposedSeal,

source§

fn borrow(&self) -> &<Assignments<Seal> as Wrapper>::Inner

Immutably borrows from an owned value. Read more
source§

impl<Seal> BorrowMut<<Assignments<Seal> as Wrapper>::Inner> for Assignments<Seal>where Seal: ExposedSeal,

source§

fn borrow_mut(&mut self) -> &mut <Assignments<Seal> as Wrapper>::Inner

Mutably borrows from an owned value. Read more
source§

impl<Seal> Clone for Assignments<Seal>where Seal: Clone + ExposedSeal,

source§

fn clone(&self) -> Assignments<Seal>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Seal> CommitEncode for Assignments<Seal>where Seal: ExposedSeal,

source§

fn commit_encode(&self, e: &mut impl Write)

Encodes the data for the commitment by writing them directly into a io::Write writer instance
source§

impl<Seal> Debug for Assignments<Seal>where Seal: Debug + ExposedSeal,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<Seal> Default for Assignments<Seal>where Seal: ExposedSeal,

source§

fn default() -> Assignments<Seal>

Returns the “default value” for a type. Read more
source§

impl<Seal> Deref for Assignments<Seal>where Seal: ExposedSeal,

§

type Target = <Assignments<Seal> as Wrapper>::Inner

The resulting type after dereferencing.
source§

fn deref(&self) -> &<Assignments<Seal> as Deref>::Target

Dereferences the value.
source§

impl<Seal> DerefMut for Assignments<Seal>where Seal: ExposedSeal,

source§

fn deref_mut(&mut self) -> &mut <Assignments<Seal> as Deref>::Target

Mutably dereferences the value.
source§

impl<'de, Seal> Deserialize<'de> for Assignments<Seal>where Seal: ExposedSeal + Serialize + DeserializeOwned,

source§

fn deserialize<__D>( __deserializer: __D ) -> Result<Assignments<Seal>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'op> From<&'op Assignments<BlindSeal<TxPtr>>> for AssignmentsRef<'op>

source§

fn from(v: &'op Assignments<BlindSeal<TxPtr>>) -> AssignmentsRef<'op>

Converts to this type from the input type.
source§

impl<'op> From<&'op Assignments<BlindSeal<Txid>>> for AssignmentsRef<'op>

source§

fn from(v: &'op Assignments<BlindSeal<Txid>>) -> AssignmentsRef<'op>

Converts to this type from the input type.
source§

impl<Seal> From<Assignments<Seal>> for Confined<BTreeMap<u16, TypedAssigns<Seal>, Global>, amplify::::collection::confinement::TinyOrdMap::{constant#0}, amplify::::collection::confinement::TinyOrdMap::{constant#1}>where Seal: ExposedSeal,

source§

fn from( wrapped: Assignments<Seal> ) -> Confined<BTreeMap<u16, TypedAssigns<Seal>, Global>, amplify::::collection::confinement::TinyOrdMap::{constant#0}, amplify::::collection::confinement::TinyOrdMap::{constant#1}>

Converts to this type from the input type.
source§

impl<Seal> From<Confined<BTreeMap<u16, TypedAssigns<Seal>, Global>, amplify::::collection::confinement::TinyOrdMap::{constant#0}, amplify::::collection::confinement::TinyOrdMap::{constant#1}>> for Assignments<Seal>where Seal: ExposedSeal,

source§

fn from( v: Confined<BTreeMap<u16, TypedAssigns<Seal>, Global>, amplify::::collection::confinement::TinyOrdMap::{constant#0}, amplify::::collection::confinement::TinyOrdMap::{constant#1}> ) -> Assignments<Seal>

Converts to this type from the input type.
source§

impl<Seal> Hash for Assignments<Seal>where Seal: Hash + ExposedSeal,

source§

fn hash<__H>(&self, state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<Seal: ExposedSeal> MergeReveal for Assignments<Seal>

source§

fn merge_reveal(self, other: Self) -> Result<Self, MergeRevealError>

source§

impl<Seal> PartialEq<Assignments<Seal>> for Assignments<Seal>where Seal: PartialEq<Seal> + ExposedSeal,

source§

fn eq(&self, other: &Assignments<Seal>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<Seal> Serialize for Assignments<Seal>where Seal: ExposedSeal + Serialize + DeserializeOwned,

source§

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<Seal> StrictDecode for Assignments<Seal>where Seal: ExposedSeal,

source§

fn strict_decode( reader: &mut impl TypedRead ) -> Result<Assignments<Seal>, DecodeError>

source§

fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>

source§

impl<Seal> StrictEncode for Assignments<Seal>where Seal: ExposedSeal,

source§

fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where W: TypedWrite,

source§

fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>

source§

impl<Seal> StrictTuple for Assignments<Seal>where Seal: ExposedSeal,

source§

impl<Seal> StrictType for Assignments<Seal>where Seal: ExposedSeal,

source§

const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB

source§

fn strict_name() -> Option<TypeName>

source§

impl<Seal> Wrapper for Assignments<Seal>where Seal: ExposedSeal,

§

type Inner = Confined<BTreeMap<u16, TypedAssigns<Seal>, Global>, amplify::::collection::confinement::TinyOrdMap::{constant#0}, amplify::::collection::confinement::TinyOrdMap::{constant#1}>

Inner type wrapped by the current newtype
source§

fn from_inner(inner: <Assignments<Seal> as Wrapper>::Inner) -> Assignments<Seal>

Instantiates wrapper type with the inner data
source§

fn as_inner(&self) -> &<Assignments<Seal> as Wrapper>::Inner

Returns reference to the inner representation for the wrapper type
source§

fn into_inner(self) -> <Assignments<Seal> as Wrapper>::Inner

Unwraps the wrapper returning the inner type
source§

impl<Seal> WrapperMut for Assignments<Seal>where Seal: ExposedSeal,

source§

fn as_inner_mut(&mut self) -> &mut <Assignments<Seal> as Wrapper>::Inner

Returns a mutable reference to the inner representation for the wrapper type
source§

impl<Seal> Eq for Assignments<Seal>where Seal: Eq + ExposedSeal,

source§

impl<Seal> StrictProduct for Assignments<Seal>where Seal: ExposedSeal,

source§

impl<Seal> StructuralEq for Assignments<Seal>where Seal: ExposedSeal,

source§

impl<Seal> StructuralPartialEq for Assignments<Seal>where Seal: ExposedSeal,

Auto Trait Implementations§

§

impl<Seal> RefUnwindSafe for Assignments<Seal>where Seal: RefUnwindSafe,

§

impl<Seal> Send for Assignments<Seal>where Seal: Send,

§

impl<Seal> Sync for Assignments<Seal>where Seal: Sync,

§

impl<Seal> Unpin for Assignments<Seal>

§

impl<Seal> UnwindSafe for Assignments<Seal>where Seal: RefUnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> StrictDumb for Twhere T: StrictType + Default,

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> VerifyEq for Twhere T: Eq,

source§

fn verify_eq(&self, other: &T) -> bool

Verifies commit-equivalence of two instances of the same type.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,