Trait Space

Source
pub trait Space {
    const INIT_SPACE: usize;
}
Expand description

Defines the space of an account for initialization.

Required Associated Constants§

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 Space for BoltMetadata

Source§

const INIT_SPACE: usize = 32usize

Source§

impl Space for Registry

Source§

const INIT_SPACE: usize = 8usize

Source§

impl Space for SystemWhitelist

Source§

const INIT_SPACE: usize = 0usize

Implementors§

Source§

impl Space for bolt_lang::BoltMetadata

Source§

const INIT_SPACE: usize = 32usize

Source§

impl Space for Entity

Source§

const INIT_SPACE: usize = 8usize