Trait fuels::core::traits::Parameterize

source ·
pub trait Parameterize {
    // Required method
    fn param_type() -> ParamType;
}
Expand description

abigen requires Parameterized to construct nested types. It is also used by try_from_bytes to facilitate the instantiation of custom types from bytes.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Parameterize for bool

source§

impl Parameterize for u8

source§

impl Parameterize for u16

source§

impl Parameterize for u32

source§

impl Parameterize for u64

source§

impl Parameterize for u128

source§

impl Parameterize for ()

source§

impl Parameterize for String

source§

impl<A> Parameterize for (A,)
where A: Parameterize,

source§

impl<A, B> Parameterize for (A, B)

source§

impl<A, B, C> Parameterize for (A, B, C)

source§

impl<A, B, C, D> Parameterize for (A, B, C, D)

source§

impl<A, B, C, D, E> Parameterize for (A, B, C, D, E)

source§

impl<A, B, C, D, E, F> Parameterize for (A, B, C, D, E, F)

source§

impl<A, B, C, D, E, F, G> Parameterize for (A, B, C, D, E, F, G)

source§

impl<A, B, C, D, E, F, G, H> Parameterize for (A, B, C, D, E, F, G, H)

source§

impl<A, B, C, D, E, F, G, H, I> Parameterize for (A, B, C, D, E, F, G, H, I)

source§

impl<A, B, C, D, E, F, G, H, I, J> Parameterize for (A, B, C, D, E, F, G, H, I, J)

source§

impl<A, B, C, D, E, F, G, H, I, J, K> Parameterize for (A, B, C, D, E, F, G, H, I, J, K)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> Parameterize for (A, B, C, D, E, F, G, H, I, J, K, L)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Parameterize for (A, B, C, D, E, F, G, H, I, J, K, L, M)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Parameterize for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> Parameterize for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Parameterize for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

impl<T> Parameterize for Option<T>
where T: Parameterize,

source§

impl<T> Parameterize for Vec<T>
where T: Parameterize,

source§

impl<T, E> Parameterize for Result<T, E>

source§

impl<const SIZE: usize, T> Parameterize for [T; SIZE]
where T: Parameterize,

Implementors§