pub trait WithAbiType {
// Required method
fn abi_type() -> AbiType;
}Expand description
A type with a known ABI type.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<K: WithPlainAbiType, V: WithAbiType> WithAbiType for BTreeMap<K, V>
impl<K: WithPlainAbiType, V: WithAbiType> WithAbiType for BTreeMap<K, V>
Source§impl<K: WithPlainAbiType, V: WithAbiType, S> WithAbiType for HashMap<K, V, S>
impl<K: WithPlainAbiType, V: WithAbiType, S> WithAbiType for HashMap<K, V, S>
Source§impl<T0: WithAbiType> WithAbiType for (T0,)
impl<T0: WithAbiType> WithAbiType for (T0,)
Source§impl<T0: WithAbiType, T1: WithAbiType> WithAbiType for (T0, T1)
impl<T0: WithAbiType, T1: WithAbiType> WithAbiType for (T0, T1)
Source§impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType> WithAbiType for (T0, T1, T2)
impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType> WithAbiType for (T0, T1, T2)
Source§impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType, T3: WithAbiType> WithAbiType for (T0, T1, T2, T3)
impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType, T3: WithAbiType> WithAbiType for (T0, T1, T2, T3)
Source§impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType, T3: WithAbiType, T4: WithAbiType> WithAbiType for (T0, T1, T2, T3, T4)
impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType, T3: WithAbiType, T4: WithAbiType> WithAbiType for (T0, T1, T2, T3, T4)
Source§impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType, T3: WithAbiType, T4: WithAbiType, T5: WithAbiType> WithAbiType for (T0, T1, T2, T3, T4, T5)
impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType, T3: WithAbiType, T4: WithAbiType, T5: WithAbiType> WithAbiType for (T0, T1, T2, T3, T4, T5)
Source§impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType, T3: WithAbiType, T4: WithAbiType, T5: WithAbiType, T6: WithAbiType> WithAbiType for (T0, T1, T2, T3, T4, T5, T6)
impl<T0: WithAbiType, T1: WithAbiType, T2: WithAbiType, T3: WithAbiType, T4: WithAbiType, T5: WithAbiType, T6: WithAbiType> WithAbiType for (T0, T1, T2, T3, T4, T5, T6)
Source§impl<T: WithAbiType> WithAbiType for Option<T>
impl<T: WithAbiType> WithAbiType for Option<T>
Source§impl<T: WithAbiType> WithAbiType for &T
impl<T: WithAbiType> WithAbiType for &T
Source§impl<T: WithAbiType> WithAbiType for &mut T
impl<T: WithAbiType> WithAbiType for &mut T
Source§impl<T: WithAbiType> WithAbiType for [T]
impl<T: WithAbiType> WithAbiType for [T]
Source§impl<T: WithAbiType> WithAbiType for Box<T>
impl<T: WithAbiType> WithAbiType for Box<T>
Source§impl<T: WithAbiType> WithAbiType for Rc<T>
impl<T: WithAbiType> WithAbiType for Rc<T>
Source§impl<T: WithAbiType> WithAbiType for Arc<T>
impl<T: WithAbiType> WithAbiType for Arc<T>
Source§impl<T: WithAbiType> WithAbiType for Vec<T>
impl<T: WithAbiType> WithAbiType for Vec<T>
Source§impl<T: WithAbiType, const N: usize> WithAbiType for [T; N]
impl<T: WithAbiType, const N: usize> WithAbiType for [T; N]
Implementors§
impl WithAbiType for IntAddr
impl WithAbiType for Cell
impl WithAbiType for HashBytes
impl WithAbiType for StdAddr
impl WithAbiType for VarAddr
impl WithAbiType for SplitDepth
impl WithAbiType for Tokens
impl WithAbiType for Uint9
impl WithAbiType for Uint12
impl WithAbiType for Uint15
impl WithAbiType for VarUint24
impl WithAbiType for VarUint56
impl WithAbiType for VarUint248
impl<T: WithAbiType> WithAbiType for Lazy<T>
Available on crate feature
models only.