pub trait Mintable: MintableType{
// Required method
fn mint_into_parent(
preimage: Self::Preimage,
children: &mut ChildNodeBuf,
) -> Self;
}Required Methods§
fn mint_into_parent( preimage: Self::Preimage, children: &mut ChildNodeBuf, ) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl Mintable for ()
impl Mintable for ()
fn mint_into_parent(preimage: (), _children: &mut ChildNodeBuf) -> Self
Source§impl Mintable for bool
impl Mintable for bool
fn mint_into_parent(preimage: bool, _children: &mut ChildNodeBuf) -> Self
Source§impl Mintable for i16
impl Mintable for i16
fn mint_into_parent(preimage: i16, _children: &mut ChildNodeBuf) -> Self
Source§impl Mintable for i32
impl Mintable for i32
fn mint_into_parent(preimage: i32, _children: &mut ChildNodeBuf) -> Self
Source§impl Mintable for i64
impl Mintable for i64
fn mint_into_parent(preimage: i64, _children: &mut ChildNodeBuf) -> Self
Source§impl Mintable for i128
impl Mintable for i128
fn mint_into_parent(preimage: i128, _children: &mut ChildNodeBuf) -> Self
Source§impl Mintable for u16
impl Mintable for u16
fn mint_into_parent(preimage: u16, _children: &mut ChildNodeBuf) -> Self
Source§impl Mintable for u32
impl Mintable for u32
fn mint_into_parent(preimage: u32, _children: &mut ChildNodeBuf) -> Self
Source§impl Mintable for u64
impl Mintable for u64
fn mint_into_parent(preimage: u64, _children: &mut ChildNodeBuf) -> Self
Source§impl Mintable for u128
impl Mintable for u128
fn mint_into_parent(preimage: u128, _children: &mut ChildNodeBuf) -> Self
Source§impl<T: Mintable> Mintable for Box<T>
Available on crate feature alloc only.
impl<T: Mintable> Mintable for Box<T>
Available on crate feature
alloc only.fn mint_into_parent( preimage: Box<T::Preimage>, children: &mut ChildNodeBuf, ) -> Self
Source§impl<T: Mintable> Mintable for Option<T>
impl<T: Mintable> Mintable for Option<T>
fn mint_into_parent( preimage: Option<T::Preimage>, children: &mut ChildNodeBuf, ) -> Self
Source§impl<T: Mintable> Mintable for Vec<T>
Available on crate feature alloc only.
impl<T: Mintable> Mintable for Vec<T>
Available on crate feature
alloc only.fn mint_into_parent( preimage: Vec<T::Preimage>, children: &mut ChildNodeBuf, ) -> Self
Source§impl<const MAX: usize> Mintable for String<MAX>
impl<const MAX: usize> Mintable for String<MAX>
fn mint_into_parent(preimage: Self, _children: &mut ChildNodeBuf) -> Self
Source§impl<const N: usize, T: Mintable> Mintable for [T; N]
impl<const N: usize, T: Mintable> Mintable for [T; N]
fn mint_into_parent( preimage: [T::Preimage; N], children: &mut ChildNodeBuf, ) -> Self
Source§impl<const N: usize> Mintable for Vec<u8, N>
impl<const N: usize> Mintable for Vec<u8, N>
fn mint_into_parent(preimage: Self, _children: &mut ChildNodeBuf) -> Self
Source§impl<const N: usize> Mintable for [u8; N]
impl<const N: usize> Mintable for [u8; N]
fn mint_into_parent(preimage: [u8; N], _children: &mut ChildNodeBuf) -> Self
Implementors§
impl Mintable for BlockHeight
impl Mintable for ContractAddress
impl Mintable for ContractEntrypointID
impl Mintable for Ed25519PublicKey
impl Mintable for Ed25519Signature
impl Mintable for I256
impl Mintable for MlDsa65PublicKey
impl Mintable for MlDsa65Signature
impl Mintable for PublicKey
impl Mintable for SHA256Hash
impl Mintable for Signature
impl Mintable for U256
impl<T: Mintable + 'static, const MAX: u32> Mintable for VecM<T, MAX>
Available on crate feature
alloc only.impl<T: Mintable> Mintable for Signed<T>
Available on crate feature
alloc only.impl<const MAX: u32> Mintable for BytesM<MAX>
impl<const MAX: u32> Mintable for StringM<MAX>
Available on crate feature
alloc only.