Struct anchor_syn::State [−][src]
pub struct State {
pub name: String,
pub strct: ItemStruct,
pub ctor_and_anchor: Option<(ImplItemMethod, Ident)>,
pub impl_block_and_methods: Option<(ItemImpl, Vec<StateIx>)>,
pub interfaces: Option<Vec<StateInterface>>,
pub is_zero_copy: bool,
}
Fields
name: String
strct: ItemStruct
ctor_and_anchor: Option<(ImplItemMethod, Ident)>
impl_block_and_methods: Option<(ItemImpl, Vec<StateIx>)>
interfaces: Option<Vec<StateInterface>>
is_zero_copy: bool