Struct anchor_syn::Program [−][src]
pub struct Program { pub state: Option<State>, pub ixs: Vec<Ix>, pub name: Ident, pub program_mod: ItemMod, pub fallback_fn: Option<FallbackFn>, }
Fields
state: Option<State>
ixs: Vec<Ix>
name: Ident
program_mod: ItemMod
fallback_fn: Option<FallbackFn>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Program
impl UnwindSafe for Program
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more