pub trait InitSpace {
const INIT_SPACE: usize;
}Expand description
Alias of Space.
Required Associated Constants§
Sourceconst INIT_SPACE: usize
const INIT_SPACE: usize
Init Space.
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<T, const LEN: usize> InitSpace for [T; LEN]where
T: InitSpace,
impl<T, const LEN: usize> InitSpace for [T; LEN]where
T: InitSpace,
const INIT_SPACE: usize
Implementors§
Source§impl InitSpace for InstructionAccount
Available on crate feature instruction only.
impl InitSpace for InstructionAccount
Available on crate feature
instruction only.