pub struct Pou {
pub kind: PouKind,
pub name: String,
pub return_type: Option<TypeSpec>,
pub var_blocks: Vec<VarBlock>,
pub body: Vec<Stmt>,
pub span: Span,
}Expand description
A Program Organization Unit.
Fields§
§kind: PouKind§name: String§return_type: Option<TypeSpec>§var_blocks: Vec<VarBlock>§body: Vec<Stmt>§span: SpanTrait Implementations§
impl StructuralPartialEq for Pou
Auto Trait Implementations§
impl Freeze for Pou
impl RefUnwindSafe for Pou
impl Send for Pou
impl Sync for Pou
impl Unpin for Pou
impl UnwindSafe for Pou
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more