Attribute Macro account_compression::processor::initialize_address_merkle_tree::zero_copy
source · #[zero_copy]Expand description
A data structure that can be used as an internal field for a zero copy
deserialized account, i.e., a struct marked with #[account(zero_copy)].
#[zero_copy] is just a convenient alias for
ⓘ
#[derive(Copy, Clone)]
#[derive(bytemuck::Zeroable)]
#[derive(bytemuck::Pod)]
#[repr(C)]
struct MyStruct {...}