fuels_core::traits

Trait 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§

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 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, E> Parameterize for Result<T, E>

Source§

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

Source§

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

Implementors§