Trait fuel_types::MemLayout

source ·
pub trait MemLayout {
    type Type;

    const LAYOUT: Self::Type;
    const LEN: usize;
}
Expand description

Trait that defines a memory layout.

Required Associated Types§

source

type Type

The associated memory layout type.

Required Associated Constants§

source

const LAYOUT: Self::Type

A constant instance of the memory layout.

source

const LEN: usize

The length of the memory layout.

Implementors§